summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-04 17:01:29 +0200
committerMichael Adam <obnox@samba.org>2011-07-04 20:02:07 +0200
commita60c94d55980c62ca281507c8d1960b5ab233dba (patch)
tree5a532ecd4ad6c7581bab581ab32300c84a2770fe
parentb6f25650f1adcc75f0a97e31c31c9980326b7ab6 (diff)
downloadsamba-a60c94d55980c62ca281507c8d1960b5ab233dba.tar.gz
samba-a60c94d55980c62ca281507c8d1960b5ab233dba.tar.bz2
samba-a60c94d55980c62ca281507c8d1960b5ab233dba.zip
selftest: remove invalid use of the globbing operator <>
-rwxr-xr-xselftest/selftest.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/selftest/selftest.pl b/selftest/selftest.pl
index 12c4b33445..d72c409fa2 100755
--- a/selftest/selftest.pl
+++ b/selftest/selftest.pl
@@ -603,11 +603,11 @@ sub write_clientconf($$$)
umask 0022;
if ( -d "$clientdir/ncalrpcdir/np" ) {
unlink <$clientdir/ncalrpcdir/np/*>;
- rmdir <$clientdir/ncalrpcdir/np>;
+ rmdir "$clientdir/ncalrpcdir/np";
}
if ( -d "$clientdir/ncalrpcdir" ) {
unlink <$clientdir/ncalrpcdir/*>;
- rmdir <$clientdir/ncalrpcdir>;
+ rmdir "$clientdir/ncalrpcdir";
}
mkdir("$clientdir/ncalrpcdir", 0755);
umask $mask;