diff options
author | Norbert Preining <preining@logic.at> | 2017-07-15 13:00:39 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2017-07-15 13:00:39 +0000 |
commit | 132eb754668558473101fb9d129a239bd31246ab (patch) | |
tree | 7abfe26e9f55b99708d3b09c76daf1b6592fdb4a /Master/tlpkg | |
parent | 65154e1c6afa12523612808ee518b0a1621e4629 (diff) |
allow for ctan2tds with nonfree stuff
git-svn-id: svn://tug.org/texlive/trunk@44806 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-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: |