Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jingjingxyk committed Jan 10, 2025
1 parent d69df9a commit e525340
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sapi/scripts/msys2/archive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,12 @@ mkdir -p /tmp/${NAME}
mkdir -p /tmp/${NAME}/etc/

cd ${__PROJECT__}/
ldd ${__PROJECT__}/bin/php.exe | grep -v '/c/Windows/' | awk '{print $3}'
ldd ${__PROJECT__}/bin/php.exe | grep -v '/c/Windows/' | awk '{print $3}' | xargs -I {} cp {} /tmp/${NAME}/

cp -f ${__PROJECT__}/bin/LICENSE /tmp/${NAME}/
ls -lh /tmp/${NAME}/

# cp -f ${__PROJECT__}/bin/LICENSE /tmp/${NAME}/
# cp -f ${__PROJECT__}/bin/credits.html /tmp/${NAME}/

cp -rL /etc/pki/ /tmp/${NAME}/etc/
Expand Down

0 comments on commit e525340

Please sign in to comment.