File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 1- #! /bin/bash
1+ #! /usr/bin/env bash
2+ #
3+ # Usage:
4+ # ./test-one-license <Short ID>
5+ #
6+ # any other command line arguments are ignored
27
3- TOOL_VERSION=` awk ' /^TOOL_VERSION/{print $NF}' Makefile`
8+ TOOL_VERSION=" $( awk ' /^TOOL_VERSION/{print $NF}' Makefile) "
49PUBLISHER=licenseListPublisher-${TOOL_VERSION} .jar
510
611# if license list publisher is not present, download it
7- test ! -f ${PUBLISHER} && make ${PUBLISHER} -valid
12+ test ! -f " ${PUBLISHER} " && make " ${PUBLISHER} -valid"
813
9- java -jar ${PUBLISHER} TestLicenseXML " src/${@ } .xml" " test/simpleTestForGenerator/${@ } .txt" " test/fullTestForGenerator"
14+ java -jar " ${PUBLISHER} " TestLicenseXML " src/${1 } .xml" " test/simpleTestForGenerator/${1 } .txt" " test/fullTestForGenerator"
You can’t perform that action at this time.
0 commit comments