summaryrefslogtreecommitdiffstats
path: root/ship/deploy
diff options
context:
space:
mode:
Diffstat (limited to 'ship/deploy')
-rwxr-xr-xship/deploy11
1 files changed, 5 insertions, 6 deletions
diff --git a/ship/deploy b/ship/deploy
index 0f3e5219..411f8eec 100755
--- a/ship/deploy
+++ b/ship/deploy
@@ -1,10 +1,9 @@
#!/bin/sh
-set -x
+set -xeuf
cd $(dirname $0)
-bindir=$PWD/bin/
-libdir=$PWD/lib/
-outdir=$PWD/out/
+bindir=$PWD/bin
+libdir=$PWD/lib
+outdir=$PWD/out
for file in `ls -1 $bindir`;do
- BUILD_PATH=$libdir ./build compile bin/$file out/$file
- chmod 755 $outdir/$file
+ BUILD_PATH=$libdir ./build compile $bindir/$file $outdir/$file
done