Whamcloud - gitweb
r=adilger,nic
authormjmac <mjmac>
Fri, 15 Jul 2005 19:52:29 +0000 (19:52 +0000)
committermjmac <mjmac>
Fri, 15 Jul 2005 19:52:29 +0000 (19:52 +0000)
stage() should return 0 if $STAGEDIR is not set, not 1.

build/lbuild

index c0389a2..07dd85e 100755 (executable)
@@ -522,7 +522,7 @@ build_lustre()
 
 stage()
 {
-    [ "$STAGEDIR" ] || return
+    [ -z "$STAGEDIR" ] && return
 
     for arch in $BUILD_ARCHS ; do
        rpmdir="${STAGEDIR}/${CANONICAL_TARGET}-${arch}"