tazpkg rev 34 1.6

Fix variables initialisation (PACKAGE)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Jan 07 12:44:48 2008 +0100 (2008-01-07)
parents aed122bdee26
children efd37eb2a58a
files tazpkg
line diff
     1.1 --- a/tazpkg	Sun Jan 06 22:31:13 2008 +0100
     1.2 +++ b/tazpkg	Mon Jan 07 12:44:48 2008 +0100
     1.3 @@ -24,7 +24,7 @@
     1.4  # Initialize some variables to use words
     1.5  # rater than numbers for functions and actions.
     1.6  COMMAND=$1
     1.7 -if [ -f $2 ]; then
     1.8 +if [ -f "$2" ]; then
     1.9  	# Set pkg basename for install, extract
    1.10  	PACKAGE=$(basename ${2%.tazpkg} 2>/dev/null)
    1.11  else