aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/texlive/tlpsrc/getlicense.sh')
-rwxr-xr-xscripts/texlive/tlpsrc/getlicense.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/texlive/tlpsrc/getlicense.sh b/scripts/texlive/tlpsrc/getlicense.sh
index 4ab1779..a417e22 100755
--- a/scripts/texlive/tlpsrc/getlicense.sh
+++ b/scripts/texlive/tlpsrc/getlicense.sh
@@ -1,5 +1,5 @@
#!/bin/bash
while [ $# -gt 0 ] ; do
- cat $1.cataloguehtml | tr '"' '\n' | grep '\/license\/' | tr '/' ' ' | awk '{print $2}'
+ grep '^catalogue-license' $1.tlplic | awk '{print $2}'
shift
done