diff options
Diffstat (limited to 'Master/tlpkg/libexec')
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 48a7a911800..59de6a16cbe 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -70,7 +70,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`); 'a4', "die 'skipping, just a pointer to ntgclass'", 'aastex', "&MAKEflatten", 'accenti', "die 'skipping, use bosisio instead'", - 'acmtrans', "die 'skipping, nonfree (nosell) license'", + 'acmtrans', "nonfree_die('skipping, nonfree (nosell) license', '&MAKEflatten')", 'acromake', "die 'skipping, nonfree (nomodify) license'", 'acroflex', "die 'skipping, per author (dps) request'", 'acrotex', "die 'skipping, per author (dps) request'", @@ -6402,4 +6402,13 @@ sub readconfig { return $result; } +sub nonfree_die { + my ($diestr, $cmd) = @_; + if ($ENV{'CTAN2TDS_NONFREE'}) { + eval $cmd; + } else { + die $diestr; + } +} + # vim: set tabstop=8 shiftwidth=2 expandtab: |