]> git.sur5r.net Git - openldap/commitdiff
Ensure BCMD is always defined
authorQuanah Gibson-Mount <quanah@openldap.org>
Tue, 24 Jan 2017 17:14:11 +0000 (09:14 -0800)
committerQuanah Gibson-Mount <quanah@openldap.org>
Tue, 24 Jan 2017 17:14:11 +0000 (09:14 -0800)
tests/scripts/all

index 60fd98d20431b768c57f7dd7976f78218ea9a00b..f3faecd3462e786ed557d1fd68a6aec068eea70c 100755 (executable)
@@ -57,8 +57,8 @@ for CMD in $SRCDIR/scripts/test*; do
 EOF
        fi
 
+       BCMD=`basename $CMD`
        if [ -x "$CMD" ]; then
-               BCMD=`basename $CMD`
                echo ">>>>> Starting ${TB}$BCMD${TN} for $BACKEND..."
                $CMD
                RC=$?