CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
bash: fixed source version
authorJose V Beneyto <sepen@crux.nu>
Tue, 26 Jan 2010 11:07:27 +0000 (12:07 +0100)
committerJose V Beneyto <sepen@crux.nu>
Tue, 26 Jan 2010 11:07:27 +0000 (12:07 +0100)
bash/Pkgfile

index d13a8e864c7c65a24b49e94b98dda68cfbcdde06..0a2b7133c59db41e80189c8265f8abf8a71bcefe 100644 (file)
@@ -7,11 +7,11 @@
 name=bash
 version=4.1.2
 release=1
-source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz \
+source=(http://ftp.gnu.org/gnu/$name/$name-${version%.*}.tar.gz \
         $name-4.1-001-002.patch.gz profile)
 
 build() {
-  cd $name-$version
+  cd $name-${version%.*}
 
   cat > config.cache <<EOF
 bash_cv_sys_named_pipes=yes