Merge pull request #374 from stceum/setup_fixup

Fixup the bug that when the winapps-src is cloned but $INQUIRER is …
This commit is contained in:
Oskar Manhart
2025-01-03 11:17:41 +01:00
committed by GitHub

View File

@@ -188,7 +188,11 @@ function waGetSourceCode() {
function waGetInquirer() {
local INQUIRER=$INQUIRER_PATH
if [ ! -d "$SYS_SOURCE_PATH" ] && [ ! -d "$USER_SOURCE_PATH" ]; then
if [ -d "$SYS_SOURCE_PATH" ]; then
INQUIRER=$SYS_SOURCE_PATH/$INQUIRER_PATH
elif [ -d "$USER_SOURCE_PATH" ] ; then
INQUIRER=$USER_SOURCE_PATH/$INQUIRER_PATH
else
INQUIRER="/tmp/waInquirer.sh"
rm -f "$INQUIRER"