summaryrefslogtreecommitdiff
path: root/build_stage2_package.sh
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-02-24 14:05:29 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-02-24 14:05:29 +0100
commit5af74548e741eab8fcf156f56850a5639043abac (patch)
tree4b1c2a3679b589d5b99bb831a48244e8e488cb08 /build_stage2_package.sh
parent428aebe60e7dd5664c53e9efb8cf2368397211b0 (diff)
downloadbootstrap32-5af74548e741eab8fcf156f56850a5639043abac.tar.xz
building all but syslinux, gcc and glibc
Diffstat (limited to 'build_stage2_package.sh')
-rwxr-xr-xbuild_stage2_package.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/build_stage2_package.sh b/build_stage2_package.sh
index 13c2856..95ab857 100755
--- a/build_stage2_package.sh
+++ b/build_stage2_package.sh
@@ -16,7 +16,7 @@ PACKAGE=$1
. "$SCRIPT_DIR/$TARGET_CPU-stage2/template/DESCR"
-#if "$(find "$STAGE2_PACKAGES" -regex ".*/$PACKAGE-.*pkg\\.tar\\.xz" | wc -l)" = 0; then
+if test "$(find "$STAGE2_PACKAGES" -regex ".*/$PACKAGE-.*pkg\\.tar\\.xz" | wc -l)" = 0; then
echo "Building package $PACKAGE."
cd $STAGE2_BUILD || exit 1
@@ -163,6 +163,6 @@ PACKAGE=$1
cd $STAGE2_BUILD || exit 1
-#else
-# echo "$PACKAGE exists."
-#fi
+else
+ echo "$PACKAGE exists."
+fi