summaryrefslogtreecommitdiffstats
path: root/ship/deploy
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2013-11-05 12:45:53 +0100
committertv <tv@nomic.retiolum>2013-11-05 12:45:53 +0100
commit3d7e7118aee40a2a7070e503307bdb07fe3bfc49 (patch)
tree942140a91ea23fcb4438f4f206d4bd4a598995a9 /ship/deploy
parentd5dcf81c04353fad721a0d36d7fc14b50d47583a (diff)
parent3060d3c4ce12fae2e8b754f13d0e227af2134ab5 (diff)
Merge remote-tracking branch 'confmagic/master'
Diffstat (limited to 'ship/deploy')
-rwxr-xr-xship/deploy14
1 files changed, 14 insertions, 0 deletions
diff --git a/ship/deploy b/ship/deploy
new file mode 100755
index 00000000..5c282398
--- /dev/null
+++ b/ship/deploy
@@ -0,0 +1,14 @@
+#!/bin/sh
+set -x
+cd $(dirname $0)
+bindir=$PWD/bin/
+libdir=$PWD/lib/
+outdir=$PWD/out/
+# Hill-Billy style package builder
+for file in `ls -1 $bindir`;do
+ # cat every lib and the file itself afterwards into outfile
+ find $libdir -type f -exec cat '{}' \; > $outdir/$file
+ cat $bindir/$file >> $outdir/$file
+ chmod 755 $outdir/$file
+done
+