CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
pkgutils-cross.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e74ba08
)
Added support for *.tbz2 and *.txz source entries in pkgmk.
author
Andrew Brouwers
<abrouwers@gmail.com>
Sat, 27 Mar 2010 16:30:02 +0000
(17:30 +0100)
committer
Tilman Sauerbeck
<tilman@crux.nu>
Sat, 27 Mar 2010 16:30:02 +0000
(17:30 +0100)
pkgmk.in
patch
|
blob
|
blame
|
history
diff --git
a/pkgmk.in
b/pkgmk.in
index 8374e038784dd9e974302fce266bb252768ddffe..b8e3e4e1957086b9b255e31973dfdb64f8a5206d 100755
(executable)
--- a/
pkgmk.in
+++ b/
pkgmk.in
@@
-162,7
+162,7
@@
unpack_source() {
for FILE in ${source[@]}; do
LOCAL_FILENAME=`get_filename $FILE`
case $LOCAL_FILENAME in
- *.tar.gz|*.tar.Z|*.tgz|*.tar.bz2|*.t
ar.
xz|*.tar.lzma|*.zip|*.rpm)
+ *.tar.gz|*.tar.Z|*.tgz|*.tar.bz2|*.t
bz2|*.tar.xz|*.t
xz|*.tar.lzma|*.zip|*.rpm)
COMMAND="bsdtar -p -o -C $SRC -xf $LOCAL_FILENAME" ;;
*)
COMMAND="cp $LOCAL_FILENAME $SRC" ;;