summaryrefslogtreecommitdiff
path: root/create_gcc-lib_shim.sh
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-02-13 10:16:59 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-02-13 10:16:59 +0100
commit9ae0afbe3afcc22ce9d25002e33c5ff2356e7362 (patch)
tree57d2c0e10a19858f14d41fc6b3cdbca03aaa7602 /create_gcc-lib_shim.sh
parentde11dde1ed2ee7892b9e79d404448a965ed0e8dc (diff)
downloadbootstrap32-9ae0afbe3afcc22ce9d25002e33c5ff2356e7362.tar.xz
fixed empty shims
Diffstat (limited to 'create_gcc-lib_shim.sh')
-rwxr-xr-xcreate_gcc-lib_shim.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/create_gcc-lib_shim.sh b/create_gcc-lib_shim.sh
index 8652a65..a741809 100755
--- a/create_gcc-lib_shim.sh
+++ b/create_gcc-lib_shim.sh
@@ -7,7 +7,7 @@
if test ! -f $STAGE1_CHROOT/packages/$TARGET_CPU/gcc-libs-shim-7.2.0-1-$TARGET_CPU.pkg.tar.xz; then
cd $STAGE1_BUILD || exit 1
- rm -rf gcc-libs-shim
+ sudo rm -rf gcc-libs-shim
mkdir gcc-libs-shim
cd gcc-libs-shim || exit 1
mkdir -p pkg/gcc-libs-shim/usr/lib
@@ -35,7 +35,7 @@ arch = $TARGET_CPU
EOF
cd pkg/gcc-libs-shim || exit 1
- tar cJvf - .PKGINFO ./* | xz > ../../gcc-libs-shim-7.2.0-1-$TARGET_CPU.pkg.tar.xz
+ tar cJvf - .PKGINFO * | xz > ../../gcc-libs-shim-7.2.0-1-$TARGET_CPU.pkg.tar.xz
cd ../.. || exit 1
cp -v ./*.pkg.tar.xz $STAGE1_CHROOT/packages/$TARGET_CPU/.