Skip to content

Commit d20852e

Browse files
authored
update the license file of trurl (#88)
1 parent 2431817 commit d20852e

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

curl-static-cross.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,11 @@ compile_trurl() {
720720
LDFLAGS="-static -Wl,-s ${LDFLAGS}" make PREFIX="${PREFIX}";
721721
make install;
722722

723-
_copy_license LICENSES/curl.txt trurl;
723+
if [ -f LICENSES/COPYING ]; then
724+
_copy_license LICENSES/COPYING trurl;
725+
elif [ -f LICENSES/curl.txt ]; then
726+
_copy_license LICENSES/curl.txt trurl;
727+
fi
724728
}
725729

726730
curl_config() {

curl-static-win.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,12 @@ compile_trurl() {
584584

585585
LDFLAGS="-static -Wl,-s ${LDFLAGS}" make PREFIX="${PREFIX}";
586586
make install TARGET=trurl.exe;
587-
_copy_license LICENSES/curl.txt trurl;
587+
588+
if [ -f LICENSES/COPYING ]; then
589+
_copy_license LICENSES/COPYING trurl;
590+
elif [ -f LICENSES/curl.txt ]; then
591+
_copy_license LICENSES/curl.txt trurl;
592+
fi
588593
}
589594

590595
curl_config() {

0 commit comments

Comments
 (0)