Kreytricks / kreytricks

Previously contribution-focused fork, now standalone rolling-release project
https://kreytricks.github.io/
GNU Lesser General Public License v2.1
3 stars 1 forks source link

QA: $W_UNATTENDED_* #42

Open Kreyren opened 5 years ago

Kreyren commented 5 years ago

winetricks is using variables alike: $W_UNATTENDED_SLASH_QUIET that are expanting in /quiet to be recognized by wine where using `"$W_UNATTENDED_SLASH_QUIET" doesn't work -> Make a test

# Valid
"$WINE" "$W_CACHE/$W_PACKAGE/$file1" $W_UNATTENDED_SLASH_QUIET
# Valid 
"$WINE" "$W_CACHE/$W_PACKAGE/$file1" \quiet
# Invalid
"$WINE" "$W_CACHE/$W_PACKAGE/$file1" $W_UNATTENDED_SLASH_QUIET"
# Valid
"$WINE" "$W_CACHE/$W_PACKAGE/IE8-WindowsXP-x86-ENU.exe $W_UNATTENDED_SLASH_QUIET"
# Invalid
"$WINE" "$W_CACHE/$W_PACKAGE/IE8-WindowsXP-x86-ENU.exe \quiet"
# Invalid
"$WINE" "$W_CACHE/$W_PACKAGE/IE8-WindowsXP-x86-ENU.exe \\quiet"