# HG changeset patch # User Pascal Bellard # Date 1305460753 -7200 # Node ID 6c26def1c2de2e0a477272eb11176041f21901d3 # Parent afe8175abd6fda86df8c61b1044ede0ef73282a9 tazpkg: store path in PACKAGE_FILE diff -r afe8175abd6f -r 6c26def1c2de tazpkg --- a/tazpkg Wed May 11 20:18:08 2011 +0100 +++ b/tazpkg Sun May 15 13:59:13 2011 +0200 @@ -42,7 +42,7 @@ # and actions. COMMAND=$1 PACKAGE=${2%/} -PACKAGE_FILE="$PACKAGE" +PACKAGE_FILE="$(cd $(dirname $PACKAGE) ; pwd)/$(basename $PACKAGE)" if [ -f "$PACKAGE" ]; then # Set pkg basename for install, extract PACKAGE=$(basename ${PACKAGE%.tazpkg} 2>/dev/null)