Skip to content

Commit

Permalink
update the license file of trurl (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
travislee89 authored Sep 11, 2024
1 parent 2431817 commit d20852e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
6 changes: 5 additions & 1 deletion curl-static-cross.sh
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,11 @@ compile_trurl() {
LDFLAGS="-static -Wl,-s ${LDFLAGS}" make PREFIX="${PREFIX}";
make install;

_copy_license LICENSES/curl.txt trurl;
if [ -f LICENSES/COPYING ]; then
_copy_license LICENSES/COPYING trurl;
elif [ -f LICENSES/curl.txt ]; then
_copy_license LICENSES/curl.txt trurl;
fi
}

curl_config() {
Expand Down
7 changes: 6 additions & 1 deletion curl-static-win.sh
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,12 @@ compile_trurl() {

LDFLAGS="-static -Wl,-s ${LDFLAGS}" make PREFIX="${PREFIX}";
make install TARGET=trurl.exe;
_copy_license LICENSES/curl.txt trurl;

if [ -f LICENSES/COPYING ]; then
_copy_license LICENSES/COPYING trurl;
elif [ -f LICENSES/curl.txt ]; then
_copy_license LICENSES/curl.txt trurl;
fi
}

curl_config() {
Expand Down

0 comments on commit d20852e

Please sign in to comment.