From: Jelmer Vernooij Date: Tue, 21 Oct 2008 12:29:38 +0000 (+0200) Subject: Prevent warning about directory already existing. X-Git-Tag: samba-4.0.0alpha6~778^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ee8d29d22bcb1c350ab59d71b0aee548489bc9c;p=thirdparty%2Fsamba.git Prevent warning about directory already existing. --- diff --git a/source4/selftest/tests.sh b/source4/selftest/tests.sh index 42bc8141c6b..49e8c2ef5d0 100755 --- a/source4/selftest/tests.sh +++ b/source4/selftest/tests.sh @@ -61,7 +61,7 @@ samba4bindir=$samba4srcdir/bin prefix_abs="$SELFTEST_PREFIX/s4client" -mkdir "$prefix_abs" +test -d "$prefix_abs" || mkdir "$prefix_abs" conffile="$SELFTEST_CONFFILE" TORTURE_OPTIONS=""