CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Fixed bsdtar invocation, need to solve problems with modification times.
authorJose V Beneyto <sepen@crux.nu>
Wed, 9 Dec 2009 16:12:59 +0000 (17:12 +0100)
committerJose V Beneyto <sepen@crux.nu>
Wed, 9 Dec 2009 16:12:59 +0000 (17:12 +0100)
src/pkgmk.in

index b599857cc4bdac65d7cdb3c082e38e9866b3834c..7378def28e515e5531c5ac5c69986f8ad485d257 100755 (executable)
@@ -166,7 +166,7 @@ unpack_source() {
                LOCAL_FILENAME=`get_filename $FILE`
                case $LOCAL_FILENAME in
                        *.tar.gz|*.tar.Z|*.tgz|*.tar.bz2|*.tar.xz|*.tar.lzma|*.zip)
-                               COMMAND="bsdtar -p -o -C $SRC -xf $LOCAL_FILENAME" ;;
+                               COMMAND="bsdtar -m -p -o -C $SRC -xf $LOCAL_FILENAME" ;;
                        *)
                                COMMAND="cp $LOCAL_FILENAME $SRC" ;;
                esac