]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- use toolsdir
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 24 Aug 2010 09:28:09 +0000 (09:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pearize.sh -> 1.57

pearize.sh

index 61efa3209513cde87224ef6e4cd98b2a70da75d0..f97604c53ffb17ea47363acfbe72a55c9d6756f7 100644 (file)
@@ -28,6 +28,9 @@
 #
 # Send blames and beer\b\b\b\bideas to glen@pld-linux.org
 
+PROGRAM=${0##*/}
+APPDIR=$(d=$0; [ -L "$d" ] && d=$(readlink -f "$d"); dirname "$d")
+
 set -e
 spec="$1"
 if [ -z "$spec" ]; then
@@ -58,7 +61,7 @@ if [ -z "$tarball" ]; then
 fi
 
 if [ ! -f $tarball ]; then
-       ./builder -g "$spec"
+       $APPDIR/builder -g "$spec"
 fi
 
 stmp=$(mktemp "${TMPDIR:-/tmp}/fragXXXXXX")
This page took 0.038806 seconds and 4 git commands to generate.