diff options
author | makefu <root@pigstarter.de> | 2013-11-02 02:43:11 +0100 |
---|---|---|
committer | makefu <root@pigstarter.de> | 2013-11-02 02:43:11 +0100 |
commit | 3060d3c4ce12fae2e8b754f13d0e227af2134ab5 (patch) | |
tree | 962237107570fbac43dc2c9ece5cda483cf47daf /deploy | |
parent | a1fc5b132349946dc9dc536de7a2f2812e407105 (diff) |
add deploy script
we are running hill billy style dependency resolution by cat-ing every lib into the resulting binary
Diffstat (limited to 'deploy')
-rwxr-xr-x | deploy | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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 + |