Merge pull request #18 from uwuowouwu420/master

designated globbing language
This commit is contained in:
abbodi1406 2021-10-21 05:43:41 +03:00 committed by GitHub
commit 0e49cd99ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
#!/bin/bash
scriptName="UUP Converter v0.6.7"
scriptName="UUP Converter v0.6.8"
UUP_CONVERTER_SCRIPT=1
export PATH=${PATH}:/usr/sbin
@ -567,10 +567,10 @@ for metadata in $metadataFiles; do
if [ $refglobs == true ]; then
wimlib-imagex export "$metadata" 3 ISODIR/sources/install.$type \
"$editionName" $compressParam --ref=""$uupDir/*.esd"" --ref=""$tempDir/*.esd""
"$editionName" $compressParam --ref={"$uupDir","$tempDir"}/*.[eE][sS][dD]
else
wimlib-imagex export "$metadata" 3 ISODIR/sources/install.$type \
"$editionName" $compressParam --ref=""$uupDir/*.esd""
"$editionName" $compressParam --ref="$uupDir"/*.[eE][sS][dD]
fi
errorHandler $? "Failed to export $editionName to install.$type""$resetColor"