summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2013-11-06 15:58:39 +0100
committertv <tv@nomic.retiolum>2013-11-06 15:58:39 +0100
commit45709c38567ba57101967f050d9e686d2e3d8fea (patch)
tree71290774a3d127c5680403b3636c8f800f541a8f
parent99f2dcbdf02d917ae10828ae6b9a34013d6f233b (diff)
ship deploy: reduce cruft
-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