- commit darix' fix (missing "test" statement)
authorMarcus Huewe <suse-tux@gmx.de>
Thu, 19 Aug 2010 12:47:12 +0000 (14:47 +0200)
committerMarcus Huewe <suse-tux@gmx.de>
Thu, 19 Aug 2010 12:47:46 +0000 (14:47 +0200)
build

diff --git a/build b/build
index 55d5492..289c571 100755 (executable)
--- a/build
+++ b/build
@@ -1788,7 +1788,7 @@ for SPECFILE in "${SPECFILES[@]}" ; do
     BUILD_SUCCEEDED=false
 
     if test -n "$OVERLAY" ; then
-       if -d "$OVERLAY"; then
+       if test -d "$OVERLAY"; then
            pushd $OVERLAY
            echo "Copying overlay to BUILD_ROOT"
            tar -cpf - . | (cd $BUILD_ROOT ; tar -xvf -)