summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-22 17:40:56 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-22 17:40:56 +0800
commit1d06dec007c735d98a01e8ed9adc922cf4a8409b (patch)
tree25bb7c73d6b06bf82afa81667309a0180551d332 /util
parent34dda37e2153688e125f9931b1252c3962e661ab (diff)
downloadpttbbs-1d06dec007c735d98a01e8ed9adc922cf4a8409b.tar
pttbbs-1d06dec007c735d98a01e8ed9adc922cf4a8409b.tar.gz
pttbbs-1d06dec007c735d98a01e8ed9adc922cf4a8409b.tar.bz2
pttbbs-1d06dec007c735d98a01e8ed9adc922cf4a8409b.tar.lz
pttbbs-1d06dec007c735d98a01e8ed9adc922cf4a8409b.tar.xz
pttbbs-1d06dec007c735d98a01e8ed9adc922cf4a8409b.tar.zst
pttbbs-1d06dec007c735d98a01e8ed9adc922cf4a8409b.zip
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@705 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r--util/mvdir.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/mvdir.pl b/util/mvdir.pl
index b88cab28..53acd9b3 100644
--- a/util/mvdir.pl
+++ b/util/mvdir.pl
@@ -15,7 +15,8 @@ if( !-e $fromdir ){
exit;
}
-mkdir $todir;
+mkdir($todir, 0755);
+
chdir $fromdir;
foreach( <*> ){
next if( /^\./ );