[beast: 15/16] MISC: make-deb.sh: build local HEAD of rapicorn and beast repositories
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 15/16] MISC: make-deb.sh: build local HEAD of rapicorn and beast repositories
- Date: Thu, 7 Sep 2017 00:19:28 +0000 (UTC)
commit 33a1f34f4c335d1a79985973656c47a81b65acda
Author: Tim Janik <timj gnu org>
Date: Thu Sep 7 01:53:49 2017 +0200
MISC: make-deb.sh: build local HEAD of rapicorn and beast repositories
Signed-off-by: Tim Janik <timj gnu org>
misc/make-deb.sh | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/misc/make-deb.sh b/misc/make-deb.sh
index ef774bd..566de4f 100755
--- a/misc/make-deb.sh
+++ b/misc/make-deb.sh
@@ -90,8 +90,13 @@ echo "DEBIAN=$DEBIAN"
if ! test -x $DESTDIR/$BEASTDIR/bin/rapidrun ; then
R=https://github.com/tim-janik/rapicorn.git
R=../rapicorn/.git/
- test -d $R || R=git://github.com/tim-janik/rapicorn.git
- git_clone $R rapicorn 496351a0798f5ea0eb3eb2419d8d1249853afbc6 # 17.0.0
+ if test -d $R ; then
+ RAPICORNHEAD=$(GIT_DIR=$R git rev-parse HEAD)
+ else
+ R=git://github.com/tim-janik/rapicorn.git
+ RAPICORNHEAD=496351a0798f5ea0eb3eb2419d8d1249853afbc6 # 17.0.0
+ fi
+ git_clone $R rapicorn $RAPICORNHEAD
build_checked rapicorn ./autogen.sh --prefix="$BEASTDIR"
fi
@@ -100,7 +105,7 @@ BEASTEXE=$BEASTDIR/bin/beast
if ! test -x $DESTDIR/$BEASTEXE ; then
R=https://github.com/tim-janik/beast.git
R=`pwd`/.git
- git_clone $R beast
+ git_clone $R beast $(git rev-parse HEAD)
build_checked beast ./autogen.sh --with-pkgroot=/opt --prefix=/usr
fi
test -x $DESTDIR/$BEASTEXE || die "failed to build Beast executable: $BEASTEXE"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]