Merge pull request #21 from SantiagoBautista/master
Minor fix: check if ~/bin exists before copying scyther-linux
This commit is contained in:
commit
d7087dcc41
@ -18,8 +18,10 @@ echo "Built the Linux binary"
|
|||||||
cp scyther-linux ../gui/Scyther/
|
cp scyther-linux ../gui/Scyther/
|
||||||
|
|
||||||
# bonus...
|
# bonus...
|
||||||
cp scyther-linux ~/bin
|
if [ -d ~/bin ] ; then
|
||||||
|
cp scyther-linux ~/bin/
|
||||||
|
fi
|
||||||
|
|
||||||
echo Copied the file to the gui directory and \~/bin
|
echo "Copied the file to the gui directory and \~/bin (if present)"
|
||||||
echo "---------------------------------------------------------"
|
echo "---------------------------------------------------------"
|
||||||
|
|
||||||
|
@ -15,8 +15,10 @@ echo "Built the Linux binary"
|
|||||||
cp scyther-linux ../gui/Scyther/
|
cp scyther-linux ../gui/Scyther/
|
||||||
|
|
||||||
# bonus...
|
# bonus...
|
||||||
cp scyther-linux ~/bin
|
if [ -d ~/bin ] ; then
|
||||||
|
cp scyther-linux ~/bin/
|
||||||
|
fi
|
||||||
|
|
||||||
echo Copied the file to the gui/Scyther directory and \~/bin
|
echo "Copied the file to the gui/Scyther directory and ~/bin (if present)"
|
||||||
echo "---------------------------------------------------------"
|
echo "---------------------------------------------------------"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user