diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-09-13 14:32:08 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-09-13 14:32:08 +0800 |
commit | 4ad8a6c8bd48b9f27e753becee043a64d344644c (patch) | |
tree | 7af7361a1b811b83635a8b08b6511d55b3b45d66 /util/waterball.pl | |
parent | 8227dbc168af39c46147619a54c01f25c8e7f070 (diff) | |
download | pttbbs-4ad8a6c8bd48b9f27e753becee043a64d344644c.tar pttbbs-4ad8a6c8bd48b9f27e753becee043a64d344644c.tar.gz pttbbs-4ad8a6c8bd48b9f27e753becee043a64d344644c.tar.bz2 pttbbs-4ad8a6c8bd48b9f27e753becee043a64d344644c.tar.lz pttbbs-4ad8a6c8bd48b9f27e753becee043a64d344644c.tar.xz pttbbs-4ad8a6c8bd48b9f27e753becee043a64d344644c.tar.zst pttbbs-4ad8a6c8bd48b9f27e753becee043a64d344644c.zip |
use 'mkdir -p'
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1181 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/waterball.pl')
-rw-r--r-- | util/waterball.pl | 3 |
1 files changed, 2 insertions, 1 deletions
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\./; |