summaryrefslogtreecommitdiffstats
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
commitefbf6f9718cd8f4c8d307c26ce2840ada84708f7 (patch)
treea05864a9bf90014a2a30475545fd2a887078afbb
parentd17a7554b1d0189bfa82b273080e661ba9634f6e (diff)
downloadpttbbs-efbf6f9718cd8f4c8d307c26ce2840ada84708f7.tar
pttbbs-efbf6f9718cd8f4c8d307c26ce2840ada84708f7.tar.gz
pttbbs-efbf6f9718cd8f4c8d307c26ce2840ada84708f7.tar.bz2
pttbbs-efbf6f9718cd8f4c8d307c26ce2840ada84708f7.tar.lz
pttbbs-efbf6f9718cd8f4c8d307c26ce2840ada84708f7.tar.xz
pttbbs-efbf6f9718cd8f4c8d307c26ce2840ada84708f7.tar.zst
pttbbs-efbf6f9718cd8f4c8d307c26ce2840ada84708f7.zip
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@705 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/util/mvdir.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/pttbbs/util/mvdir.pl b/pttbbs/util/mvdir.pl
index b88cab28..53acd9b3 100644
--- a/pttbbs/util/mvdir.pl
+++ b/pttbbs/util/mvdir.pl
@@ -15,7 +15,8 @@ if( !-e $fromdir ){
exit;
}
-mkdir $todir;
+mkdir($todir, 0755);
+
chdir $fromdir;
foreach( <*> ){
next if( /^\./ );