From: Adam Dickmeiss Date: Mon, 29 Jun 2015 13:31:26 +0000 (+0000) Subject: Use path for id-pbuild.sh to get other script locations X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=03096f528e96eddeb87bba805e35572476809bb7;p=git-tools-moved-to-github.git Use path for id-pbuild.sh to get other script locations --- diff --git a/id-deb-build/id-pbuild.sh b/id-deb-build/id-pbuild.sh index 8c76b9e..9a8f202 100755 --- a/id-deb-build/id-pbuild.sh +++ b/id-deb-build/id-pbuild.sh @@ -11,6 +11,9 @@ Options: EOF exit $1 } +D0=`dirname $0` +ID_DEB_BUILD=`cd $D0; pwd` + do_help=false upload=false while test $# -gt 0; do @@ -58,7 +61,6 @@ if test "$DEBIAN_DIST_A" -o "$UBUNTU_DIST_A" -o "$CENTOS_DIST_A"; then UBUNTU_DIST=$UBUNTU_DIST_A CENTOS_DIST=$CENTOS_DIST_A fi -ID_DEB_BUILD=~/proj/git-tools/id-deb-build if test "$DEBIAN_DIST" -o "$UBUNTU_DIST"; then debian=true DNAME=`awk '/Source:/ {print $2}' debian/control`