exclude unnecessary files
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ PACKAGE="${RELEASE}_${ARCH}.deb"
|
|||||||
rm -rf "$BUILD"
|
rm -rf "$BUILD"
|
||||||
mkdir -p "$BUILD" || exit 1
|
mkdir -p "$BUILD" || exit 1
|
||||||
cd "$BUILD" || exit 1
|
cd "$BUILD" || exit 1
|
||||||
(tar cf - -C .. "--exclude=./$BUILD" --exclude=./.* .| tar xf -) || exit 1
|
(tar cf - -C .. "--exclude=./$BUILD" --exclude=./.* "--exclude=*.o" "--exclude=*.a" .| tar xf -) || exit 1
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "*************"
|
echo "*************"
|
||||||
|
|||||||
+1
-1
@@ -28,7 +28,7 @@ export PATH=$PATH:/usr/mipsel-linux-uclibc/bin
|
|||||||
rm -rf "$BUILD"
|
rm -rf "$BUILD"
|
||||||
mkdir -p "$BUILD" || exit 1
|
mkdir -p "$BUILD" || exit 1
|
||||||
cd "$BUILD" || exit 1
|
cd "$BUILD" || exit 1
|
||||||
(tar cf - -C .. "--exclude=./$BUILD" --exclude=./.* .| tar xf -) || exit 1
|
(tar cf - -C .. "--exclude=./$BUILD" --exclude=./.* "--exclude=*.o" "--exclude=*.a" .| tar xf -) || exit 1
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "*************"
|
echo "*************"
|
||||||
|
|||||||
Reference in New Issue
Block a user