]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
Uprava skriptu prepare_infrastructure
authorsojka <sojka@78ed6b52-5822-0410-8084-884f26da6e90>
Tue, 20 Mar 2007 07:31:06 +0000 (07:31 +0000)
committersojka <sojka@78ed6b52-5822-0410-8084-884f26da6e90>
Tue, 20 Mar 2007 07:31:06 +0000 (07:31 +0000)
git-svn-id: svn+ssh://rtime.felk.cvut.cz/var/svn/eurobot/trunk/soft@109 78ed6b52-5822-0410-8084-884f26da6e90

build/prepare_infrastructure

index c16f1f0e5966f97108134483035d2dffae0f6540..a1fab2a16d31730e0fb16b205d068c6b20b94540 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 if [ ! -d _infrastructure/h8300-boot/_darcs ]; then
-    darcs get rtime.felk.cvut.cz:/var/repos/h8300-boot --repo-name=_infrastructure/h8300-boot || exit 1
+    [ -x "`which darcs`" ] && darcs get rtime.felk.cvut.cz:/var/repos/h8300-boot --repo-name=_infrastructure/h8300-boot || exit 1
 fi
 
 for i in h8eurobot/ h8mirosot/ linux/ ppc/; do