plugin/java: show message on missing *or* blank

pull/2006/head
John D Pell 2021-12-30 22:35:34 -08:00
parent f03a89836e
commit 33df3a2bcd
1 changed files with 1 additions and 1 deletions

View File

@ -7,5 +7,5 @@ function jar_manifest {
param '1: JAR file to extract the MANIFEST from' param '1: JAR file to extract the MANIFEST from'
example 'jar_manifest lib/foo.jar' example 'jar_manifest lib/foo.jar'
unzip -c "${1?${FUNCNAME[0]}: JAR file must be specified}" META-INF/MANIFEST.MF unzip -c "${1:?${FUNCNAME[0]}: JAR file must be specified}" META-INF/MANIFEST.MF
} }