diff options
Diffstat (limited to 'build_stage2_package.sh')
-rwxr-xr-x | build_stage2_package.sh | 8 |
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 |