1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00

* minor fix

This commit is contained in:
mateuszb 2011-10-01 17:15:16 +00:00
parent 3d3be9efa7
commit a247cef1d9

View File

@ -1,7 +1,7 @@
#!/bin/bash
function errorcheck(){
if [$? -gt 0]; then
if [ $? -gt 0 ]; then
echo "Error during $1"
quit
else
@ -22,7 +22,7 @@ errorcheck "make"
unzip vcmipack.zip -d vcmi
errorcheck "pack unzip"
ln -s "vcmi/b1.json"
errorckeck "b1.json symlink"
errorcheck "b1.json symlink"
ln -s "AI/StupidAI/.libs/libStupidAI.so"
errorcheck "StupidAI symlink"
ln -s "Odpalarka/odpalarka"