tazpkg rev 520
tazpkg: Fixed for last commit to make full path with install opiton work again.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Aug 08 14:36:17 2011 +0000 (2011-08-08) |
parents | 634147c16578 |
children | 46a1e7d29a68 |
files | tazpkg |
line diff
1.1 --- a/tazpkg Mon Aug 08 14:05:03 2011 +0000 1.2 +++ b/tazpkg Mon Aug 08 14:36:17 2011 +0000 1.3 @@ -42,10 +42,10 @@ 1.4 # and actions. 1.5 COMMAND=$1 1.6 PACKAGE=${2%/} 1.7 -PACKAGE_DIR="$(cd $(dirname $PACKAGE))" 1.8 +PACKAGE_DIR="$(cd $(dirname $PACKAGE) ; pwd)" 1.9 [ "$PACKAGE_DIR" = "." ] && PACKAGE_DIR="" 1.10 [ -n "$PACKAGE" ] && 1.11 -PACKAGE_FILE="$($PACKAGE_DIR ; pwd)/${PACKAGE##*/}" 1.12 +PACKAGE_FILE="$PACKAGE_DIR/${PACKAGE##*/}" 1.13 if [ -f "$PACKAGE" ]; then 1.14 # Set pkg basename for install, extract 1.15 PACKAGE=$(basename ${PACKAGE%.tazpkg} 2>/dev/null)