#!/bin/sh set -e git reset --hard python3.3 build/replace_versions.py if [ "x$STATIC_CRYPTOPP" != "x" ] then sed -i 's/\$(CRYPTOPP_LIBS)/\/usr\/local\/lib\/libcryptopp.a/g' Makefile.am_server fi wget http://buildserver.urbackup.org/urbackup-debian2.tar.gz -O urbackup-debian.tar.gz tar xzf urbackup-debian.tar.gz if ! test -e build_server_debian_ok then ./switch_build.sh server ./download_cryptopp.sh autoreconf --install ./configure --enable-packaging --enable-install_initd --with-mountvhd LDFLAGS="$LDFLAGS -flto" CPPFLAGS="-flto" touch build_server_debian_ok fi ./switch_build.sh server make dist > tmp BASENAME=`awk -F'"' '{ for(i=1; i