10 lines
195 B
Bash
Executable File
10 lines
195 B
Bash
Executable File
#!/bin/bash
|
|
if [ "$1" == "" ]; then
|
|
cd /srv/WireChem
|
|
python WireChem.py
|
|
else
|
|
git clone -b $1 git://github.com/dahut87/WireChem.git /srv/_version_$1
|
|
cd /srv/_version_$1
|
|
python WireChem.py
|
|
fi
|