[beast: 12/41] MISC: make-deb.sh: find $BEASTDIR
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 12/41] MISC: make-deb.sh: find $BEASTDIR
- Date: Fri, 16 Jun 2017 10:23:48 +0000 (UTC)
commit 433c39cf6b81db6d60046ac0c1ef18db4290ae3b
Author: Tim Janik <timj gnu org>
Date: Sun Jun 11 20:47:57 2017 +0200
MISC: make-deb.sh: find $BEASTDIR
Signed-off-by: Tim Janik <timj gnu org>
misc/make-deb.sh | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/misc/make-deb.sh b/misc/make-deb.sh
index e20d9a6..f3a4b7c 100755
--- a/misc/make-deb.sh
+++ b/misc/make-deb.sh
@@ -1,6 +1,6 @@
#!/bin/bash
# This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0
-set -ex
+set -e # -x
SCRIPTNAME=`basename $0`
function die { [ -n "$*" ] && echo "$SCRIPTNAME: $*" >&2; exit 127 ; }
@@ -46,6 +46,7 @@ test -e ./acbeast.m4 || die "failed to detect ./acbeast.m4"
# build in ./tmpdeb/
PREFIX=/opt
+BEASTDIR=$PREFIX/$(misc/mkbuildid.sh -p | sed -r 's/^([0-9]+)\.([0-9]+).*/beast-\1-\2/')
DESTDIR=`pwd`/tmpdeb/destdir
DESTPREFIX=$DESTDIR$PREFIX
DEBIAN=$DESTDIR/DEBIAN
@@ -64,6 +65,7 @@ echo "CC=$CC CFLAGS=$CFLAGS"
echo "CXX=$CXX CXXFLAGS=$CXXFLAGS"
echo "LDFLAGS=$LDFLAGS DISPLAY=$DISPLAY"
echo "PREFIX=$PREFIX"
+echo "BEASTDIR=$BEASTDIR"
echo "DESTDIR=$DESTDIR"
echo "DESTPREFIX=$DESTPREFIX"
echo "PATH=$PATH"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]