# HG changeset patch # User Christophe Lincoln # Date 1199706288 -3600 # Node ID ffa554a68d00eda9826c74b4a9b45c7d728dfb2c # Parent aed122bdee26129e82b7cf5b0e1024b1a93e03af Fix variables initialisation (PACKAGE) diff -r aed122bdee26 -r ffa554a68d00 tazpkg --- a/tazpkg Sun Jan 06 22:31:13 2008 +0100 +++ b/tazpkg Mon Jan 07 12:44:48 2008 +0100 @@ -24,7 +24,7 @@ # Initialize some variables to use words # rater than numbers for functions and actions. COMMAND=$1 -if [ -f $2 ]; then +if [ -f "$2" ]; then # Set pkg basename for install, extract PACKAGE=$(basename ${2%.tazpkg} 2>/dev/null) else