CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
pkgmk: add support for plain tar, FS#603
authorJuergen Daubert <jue@jue.li>
Wed, 28 Nov 2012 12:23:58 +0000 (13:23 +0100)
committerJuergen Daubert <jue@jue.li>
Wed, 28 Nov 2012 12:23:58 +0000 (13:23 +0100)
pkgmk.in

index 97737dd2b90dc2de4456d2bd6aa0ea55d538df06..a64b6ccb86ad7757e76db2a32f0f6c8d47895d4d 100755 (executable)
--- a/pkgmk.in
+++ b/pkgmk.in
@@ -174,7 +174,7 @@ unpack_source() {
        for FILE in ${source[@]}; do
                LOCAL_FILENAME=`get_filename $FILE`
                case $LOCAL_FILENAME in
-                       *.tar.gz|*.tar.Z|*.tgz|*.tar.bz2|*.tbz2|*.tar.xz|*.txz|*.tar.lzma|*.zip|*.rpm)
+                       *.tar|*.tar.gz|*.tar.Z|*.tgz|*.tar.bz2|*.tbz2|*.tar.xz|*.txz|*.tar.lzma|*.zip|*.rpm)
                                COMMAND="bsdtar -p -o -C $SRC -xf $LOCAL_FILENAME" ;;
                        *)
                                COMMAND="cp $LOCAL_FILENAME $SRC" ;;