summaryrefslogtreecommitdiffstats
path: root/ship/deploy
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2013-11-06 16:04:04 +0100
committerlassulus <lassulus@googlemail.com>2013-11-06 16:04:04 +0100
commit7cbc22526a141801b7386385a87bcbf48b5c5c88 (patch)
tree320401b62031d92fbf1e92dfbfeec69fd362edfe /ship/deploy
parente979fa57f3fe8115c2a78c9e8d4584806a3e954e (diff)
parent45709c38567ba57101967f050d9e686d2e3d8fea (diff)
Merge branch 'master' of github.com:krebscode/painload
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