sync-build.sh (433B)
1 #!/bin/sh 2 # This file is in the public domain. 3 # Helper script to build the latest DEB packages in the container. 4 5 set -eu 6 unset LD_LIBRARY_PATH 7 8 rm -rf /build/sync 9 10 mkdir -p /build/sync 11 cd /build/sync 12 13 # Fetch source 14 for n in sync 15 do 16 git clone git://git.taler.net/$n 17 cd $n 18 git checkout $1 19 ./bootstrap 20 dpkg-buildpackage -rfakeroot -b -uc -us 21 cd .. 22 dpkg -i *.deb 23 done 24 25 tar uvf ../packages.tgz *.deb 26 27 cd ..