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 6310ae3..5381017 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 35d33a5..aca626f 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