From: Eugene Crosser Date: Thu, 1 May 2014 07:59:13 +0000 (+0400) Subject: beta build X-Git-Tag: 0.9.0.0~2 X-Git-Url: http://average.org/gitweb/?a=commitdiff_plain;h=2bb37cd8f3ac1737130aa57133806361dcd2ac9d;p=pdns-pipe-nmc.git beta build --- diff --git a/build b/build index c77b024..004b973 100755 --- a/build +++ b/build @@ -1,7 +1,7 @@ #!/bin/sh file="pdns-pipe-nmc" -sfx="linux-glibc6.`uname -m`.`date +%Y-%m-%d`.git-`git rev-parse --verify HEAD | cut -c 1-7`" +sfx="linux-glibc6.`uname -m`.`date +%Y-%m-%d`.git-`git describe`" echo "Making $file.$sfx" # tried this: @@ -9,7 +9,7 @@ echo "Making $file.$sfx" # -optl-pthread -pgml g++ "$file" # but cannot make it "only glibc is shared". And with static glibc, # getaddrinfo does not work on systems with different glibc. -ghc --make "$file" +cabal build case $? in 0) ;; *) echo build falied; exit 1 ;;