summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAdam Strzelecki <ono@java.pl>2015-05-07 23:07:15 +0200
committerAdam Strzelecki <ono@java.pl>2015-05-07 23:07:15 +0200
commit7e479993a427cd72947ce06b318226ba0269e5f9 (patch)
tree6aae5f96f715ceb9cfe9abd5b4386a348d82df4e
parenta490e13342eb9e43bfc5aed607ff37efd9b26420 (diff)
downloadNim-7e479993a427cd72947ce06b318226ba0269e5f9.tar.gz
Fixup: csources is empty after clone
We actually need to check for existence of csources/.git and then do git
submodule update --init, which pulls the data for submodule.
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 87e12dcfd..91e169241 100755
--- a/build.sh
+++ b/build.sh
@@ -2,7 +2,7 @@
 set -e
 set -x
 
-if [ ! -d "csources" ]; then
+if [ ! -e csources/.git ]; then
 	git submodule update --init --depth 1
 fi