From c52b90a0a22a59855c1eef1d901c8166ac166b9a Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Tue, 12 Jan 2016 10:30:36 +0000 Subject: [PATCH] synthesis.sh: Make use of the EDUKE32_REVISION file when packaging tarballs. git-svn-id: https://svn.eduke32.com/eduke32@5549 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/synthesis.sh | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/polymer/synthesis.sh b/polymer/synthesis.sh index b8ddc13da..648f250b3 100755 --- a/polymer/synthesis.sh +++ b/polymer/synthesis.sh @@ -243,9 +243,6 @@ then echo svn update -r $head svn update -r $head - # throw the svn revision into a header. - echo "s_buildRev = \"r$head\";" > source/rev.h - # export the source tree into the output directory svn export . $output/$date-$head/${basename}_$date-$head echo svn export . $output/$date-$head/${basename}_$date-$head @@ -259,15 +256,13 @@ then rm -r ${basename}_$date-$head/$i done + # throw the svn revision into a file the Makefile will read + echo "$head" > EDUKE32_REVISION + echo tar cJf ${basename}_src_$date-$head.tar.xz ${basename}_$date-$head tar cJf ${basename}_src_$date-$head.tar.xz ${basename}_$date-$head rm -r ${basename}_$date-$head - # clean up the revision header - cd $top/$source - echo svn revert "source/rev.h" - svn revert "source/rev.h" - # output the changelog since last snapshot in the output directory if [ $lastrevision ] then