mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-12 05:11:58 +00:00
Update buildLabel.sh
This commit is contained in:
@@ -73,7 +73,7 @@ echo "archivePath: $archivePath"
|
||||
|
||||
try1archiveName=${archiveTempName##*/}
|
||||
try2archiveName=${archivePath##*/}
|
||||
fileName_re='^([a-zA-Z0-9\_.-]*)\.(dmg|pkg|zip|tbz)$'
|
||||
fileName_re='^([a-zA-Z0-9\_.%-]*)\.(dmg|pkg|zip|tbz)$'
|
||||
if [[ "${try1archiveName}" =~ $fileName_re ]]; then
|
||||
archiveName=${try1archiveName}
|
||||
elif [[ "${try2archiveName}" =~ $fileName_re ]]; then
|
||||
|
||||
Reference in New Issue
Block a user