]> hackdaworld.org Git - hdw-linux/hdw-linux.git/commitdiff
fixed pkg_dir bug
authorhackbard <hackbard>
Wed, 28 Jul 2004 13:45:07 +0000 (13:45 +0000)
committerhackbard <hackbard>
Wed, 28 Jul 2004 13:45:07 +0000 (13:45 +0000)
doc/CHANGELOG
scripts/Create-Binary

index 6310ae3f67d2e022227bd5ce89b4ae2be8a70bd3..53810176be22d7a5458d4a3a6585cce4572ec58b 100644 (file)
@@ -10,6 +10,7 @@
 #                                      #
 #########################################
 
+- fixed pkg_dir bug in Create-Binary
 - network config via dhcp
 - linux config changes, no devfs mount at startup
 - small fixes to hdw-get (still no dep checking)
index 35d33a5667fae99430ad79e98199c8f4b8727cbe..aca626f2a72e822c88d002cbd8a1fa2019976921 100755 (executable)
@@ -42,7 +42,7 @@ if [ ! -z "$hdw_arch_opt" ]; then
 else
        bin_dir=${hdw_arch}-generic
 fi
-pkg_dir=`echo $package | sed 's%-[0-9]%%'`
+pkg_dir=`echo $package | sed 's%-[0-9]*%%'`
 mkdir -p binaries/$bin_dir
 
 # single package