From a247cef1d919cc0d4e991fc51599a2a4e597a6f3 Mon Sep 17 00:00:00 2001 From: mateuszb Date: Sat, 1 Oct 2011 17:15:16 +0000 Subject: [PATCH] * minor fix --- vcmiinstall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vcmiinstall.sh b/vcmiinstall.sh index 12d7d5839..bc997b96d 100644 --- a/vcmiinstall.sh +++ b/vcmiinstall.sh @@ -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"