allow wildcard dir param name

This commit is contained in:
Asif Bacchus 2020-06-20 04:13:39 -06:00
parent 50b40c87e1
commit 97c4d742d6
1 changed files with 1 additions and 1 deletions

2
sri
View File

@ -83,7 +83,7 @@ while [ $# -gt 0 ]; do
# generate SRI using sha512
algo='sha512'
;;
-d|--dir|--directory)
-d|--dir*)
# verify directory exists
if [ -d "$2" ]; then
doDir=1