File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -720,7 +720,11 @@ compile_trurl() {
720
720
LDFLAGS=" -static -Wl,-s ${LDFLAGS} " make PREFIX=" ${PREFIX} " ;
721
721
make install;
722
722
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
724
728
}
725
729
726
730
curl_config () {
Original file line number Diff line number Diff line change @@ -584,7 +584,12 @@ compile_trurl() {
584
584
585
585
LDFLAGS=" -static -Wl,-s ${LDFLAGS} " make PREFIX=" ${PREFIX} " ;
586
586
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
588
593
}
589
594
590
595
curl_config () {
You can’t perform that action at this time.
0 commit comments