diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2018-02-27 18:14:28 +0100 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2018-02-27 18:14:28 +0100 |
commit | e92b8d28209bed18c2be0dd5dea9005b13f66426 (patch) | |
tree | c37a84429d54f7b2228ede772a1a3853f428e0c9 /build.sh | |
parent | 0c3c6661af9df0968665cdf5cbb9ded980da589e (diff) |
Remove tar preserve option
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -41,11 +41,11 @@ download_sdk() { check $sdk_tar $sdk_url # global $sdk - sdk="build_dir/$(tar tpf $sdk_tar|head -1)" + sdk="build_dir/$(tar tf $sdk_tar|head -1)" if ! test -e $sdk; then test -e build_dir || mkdir build_dir - tar xvpf $sdk_tar -C build_dir + tar xvf $sdk_tar -C build_dir fi } @@ -129,7 +129,7 @@ build_tarball() { build_metadata() { local stat=`stat -c %Y $rootfs` local date="`date -d \"@${stat}\" +%F`" - local desc="$(tar xpf $rootfs ./etc/openwrt_release -O|grep DISTRIB_DESCRIPTION|sed -e "s/.*='\(.*\)'/\1/")" + local desc="$(tar xf $rootfs ./etc/openwrt_release -O|grep DISTRIB_DESCRIPTION|sed -e "s/.*='\(.*\)'/\1/")" if test ${subarch} = generic; then local arch_lxd=${arch} |