From ec827b7ed0b0c2e5c5772921e57a804c2f33227d Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Thu, 24 Mar 2022 13:23:03 +0800 Subject: [PATCH] * Give config 777 permission. --- tools/packZip.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/packZip.php b/tools/packZip.php index 424bd108b4..22c4268146 100644 --- a/tools/packZip.php +++ b/tools/packZip.php @@ -51,7 +51,7 @@ foreach(array('zh-cn', 'en') as $langType) /* The commands of the shell. */ $command = "cd $workDir\n"; $command .= "if [ ! -d ../$dirName ]; then unzip ../../$packPrefix.{$version}.zip -d ../ ; fi\n"; - $command .= "cp -rf ../$dirName .\n"; + $command .= "cp -raf ../$dirName .\n"; $command .= "unzip ../../zentaobiz.php{$phpVersion}.zip -d $dirName/extension/\n"; $command .= "unzip ../../zentaomax.php{$phpVersion}.zip -d $dirName/extension/\n"; $command .= "zip -r ../../$packPrefix.{$version}.php{$phpVersion}.zip $dirName\n";