]> hackdaworld.org Git - hdw-linux/hdw-linux.git/commitdiff
another fix :/
authorhackbard <hackbard>
Wed, 28 Jul 2004 14:49:59 +0000 (14:49 +0000)
committerhackbard <hackbard>
Wed, 28 Jul 2004 14:49:59 +0000 (14:49 +0000)
scripts/Create-Binary

index aca626f2a72e822c88d002cbd8a1fa2019976921..52a091f49b1b0fac9adec1fc0842863dbf66da46 100755 (executable)
@@ -42,7 +42,8 @@ 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].%%'`
+pkg_dir=`echo $pkg_dir | sed 's%-[0-9]%%'`
 mkdir -p binaries/$bin_dir
 
 # single package