From 4ad8a6c8bd48b9f27e753becee043a64d344644c Mon Sep 17 00:00:00 2001 From: in2 Date: Sat, 13 Sep 2003 06:32:08 +0000 Subject: use 'mkdir -p' git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1181 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- util/waterball.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/waterball.pl b/util/waterball.pl index 651372fa..d3fcc343 100644 --- a/util/waterball.pl +++ b/util/waterball.pl @@ -1,4 +1,5 @@ #!/usr/bin/perl +# $Id$ use lib '/home/bbs/bin/'; use LocalVars; use Time::Local; @@ -17,7 +18,7 @@ foreach $fndes ( <$JOBSPOOL/water.des.*> ){ #des: userid, mailto, outmode next if( !$userid ); print "$userid, $mailto, $outmode\n"; `rm -Rf $TMP/water`; - `mkdir $TMP/water`; + `mkdir -p $TMP/water`; $fnsrc = $fndes; $fnsrc =~ s/\.des\./\.src\./; -- cgit v1.2.3