taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

sync-build.sh (423B)


      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 mkdir -p /build/sync
      9 cd /build/sync
     10 
     11 # Fetch source
     12 rm -rf *
     13 
     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 ..