Commit e265d250 authored by Tk-Glitch's avatar Tk-Glitch

wine-tkg-git: logging: Make the patchmsg string trailing, and add an option to remove it.

Useful to review the list of patches used without fluff
parent 3fd92e26
......@@ -86,6 +86,9 @@ _NUKR="true"
_NOCOMPILE="false"
_NOINITIALPROMPT="false"
# Set to true to remove trailing patchmsg strings in logs - Useful to review the list of patches used without fluff
_nopatchmsg="false"
# Set to a desired additional tag to differentiate builds
_PROTON_NAME_ADDON=""
......
......@@ -602,7 +602,10 @@ install=wine.install
nonuser_patcher() {
if [ "$_NUKR" != "debug" ] || [ "$_DEBUGANSW1" == "y" ]; then
msg2 "Applying ${_patchname}" && patch -Np1 < ../"$_patchname" && echo -e "${_patchmsg} - ( ${_patchname} )" >> "$_where"/last_build_config.log
if [ "$_nopatchmsg" != "true" ]; then
_fullpatchmsg=" -- ( $_patchmsg )"
fi
msg2 "Applying ${_patchname}" && patch -Np1 < ../"$_patchname" && echo -e "${_patchname}${_fullpatchmsg}" >> "$_where"/last_build_config.log
fi
}
......
......@@ -74,6 +74,9 @@ _NOINITIALPROMPT="false"
# Only use this in a case similar to this : your lib32-faudio libs are not found by wine, but you don't care because your game is 64-bit.
_faudio_ignorecheck="false"
# Set to true to remove trailing patchmsg strings in logs - Useful to review the list of patches used without fluff
_nopatchmsg="false"
#### EXTERNAL INSTALLATION SETTINGS - !! ONLY AFFECTS MAKEPKG !! ####
......
......@@ -145,7 +145,10 @@ _nomakepkgsrcinit() {
nonuser_patcher() {
if [ "$_NUKR" != "debug" ] || [ "$_DEBUGANSW1" == "y" ]; then
msg2 "Applying ${_patchname}" && patch -Np1 < "$_where"/"$_patchname" && echo -e "${_patchmsg} - ( ${_patchname} )" >> "$_where"/last_build_config.log
if [ "$_nopatchmsg" != "true" ]; then
_fullpatchmsg=" -- ( $_patchmsg )"
fi
msg2 "Applying ${_patchname}" && patch -Np1 < "$_where"/"$_patchname" && echo -e "${_patchname}${_fullpatchmsg}" >> "$_where"/last_build_config.log
fi
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment