Skip to content

Commit

Permalink
bugfix: 修复cygwin打包脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
qiqizjl committed Oct 9, 2022
1 parent 87e6cf6 commit 6aa3b3e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sapi/cygwin-pack.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
$src = dirname(__DIR__);
$dst = "/cygdrive/d/swoole-cli-v".SWOOLE_VERSION."-cygwin64";
$dst = dirname(__DIR__) . '/dist';
//$dst = "/cygdrive/d/swoole-cli-v".SWOOLE_VERSION."-cygwin64";
if (!is_dir($dst)) {
mkdir($dst, 0777, true);
}
Expand Down Expand Up @@ -30,4 +31,4 @@
copy("{$src}/bin/swoole-cli.exe", $dst."/bin/swoole-cli.exe");
copy("{$src}/bin/LICENSE", $dst."/LICENSE");
echo `cp -rL /etc/pki/ {$dst}/etc`;
echo "done.\n";
echo "done.\n";

0 comments on commit 6aa3b3e

Please sign in to comment.