allow wildcard dir param name

This commit is contained in:
Asif Bacchus 2020-06-20 04:13:39 -06:00
parent 50b40c87e1
commit 97c4d742d6

2
sri
View File

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