diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2009-06-08 21:17:58 +0000 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2009-06-08 21:17:58 +0000 |
commit | 114f4d0023a6b07a15bb6ec6e78fd4457caed541 (patch) | |
tree | 7f1c71aeb52e1d05586557bb454651006135f7f6 /scripts | |
parent | 8b7ef72f806a8c81f051fdc01c2cd66cd5892ddc (diff) | |
download | upstream-114f4d0023a6b07a15bb6ec6e78fd4457caed541.tar.gz upstream-114f4d0023a6b07a15bb6ec6e78fd4457caed541.tar.bz2 upstream-114f4d0023a6b07a15bb6ec6e78fd4457caed541.zip |
Workaround a bug(?) in tar in debian squeeze, which causes the build process to
fail without any reason.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16390 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ipkg | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/ipkg b/scripts/ipkg index 18090be3e6..554521a813 100755 --- a/scripts/ipkg +++ b/scripts/ipkg @@ -773,7 +773,7 @@ ipkg_install_file_dest() { mkdir -p $IPKG_TMP/$pkg/data mkdir -p $info_dir - if ! $pkg_extract_stdout $filename ./control.tar.gz | (cd $IPKG_TMP/$pkg/control; tar -xzf - ) ; then + if ! $pkg_extract_stdout $filename ./control.tar.gz | (cd $IPKG_TMP/$pkg/control; zcat | tar -xf - ) ; then echo "ipkg_install_file: ERROR unpacking control.tar.gz from $filename" return 1 fi @@ -803,7 +803,7 @@ Status: install ok pending" | ipkg_status_update_sd $sd $pkg set -o noglob rm -r $IPKG_TMP/$pkg/control - if ! $pkg_extract_stdout $filename ./data.tar.gz | (cd $IPKG_TMP/$pkg/data; tar -xzf - ) ; then + if ! $pkg_extract_stdout $filename ./data.tar.gz | (cd $IPKG_TMP/$pkg/data; zcat | tar -xf - ) ; then echo "ipkg_install_file: ERROR unpacking data.tar.gz from $filename" return 1 fi @@ -875,7 +875,7 @@ diff -u $dest/$conffile $IPKG_TMP/$pkg/data/$conffile" rm -rf $IPKG_TMP/$pkg/data rmdir $IPKG_TMP/$pkg rm -f $info_dir/$pkg.list - $pkg_extract_stdout $filename ./data.tar.gz | tar tzf - | sed -e 's/^\.//' > $info_dir/$pkg.list + $pkg_extract_stdout $filename ./data.tar.gz | zcat | tar tf - | sed -e 's/^\.//' > $info_dir/$pkg.list if [ -x "$info_dir/$pkg.postinst" ]; then $info_dir/$pkg.postinst configure |