Skip to content
Snippets Groups Projects
Commit 7a59b3b9 authored by stceum's avatar stceum
Browse files

Fixup the bug that when the winapps-src is cloned but $INQUIRER is not updated...

Fixup the bug that when the winapps-src is cloned but $INQUIRER is not updated with cloned path causing the failure of running the script.
parent c554632f
Branches
No related tags found
No related merge requests found
...@@ -188,7 +188,11 @@ function waGetSourceCode() { ...@@ -188,7 +188,11 @@ function waGetSourceCode() {
function waGetInquirer() { function waGetInquirer() {
local INQUIRER=$INQUIRER_PATH 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" INQUIRER="/tmp/waInquirer.sh"
rm -f "$INQUIRER" rm -f "$INQUIRER"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment