mirror of
https://github.com/winapps-org/winapps.git
synced 2025-06-06 23:27:19 +02:00
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:
commit
f4f4d30998
6
setup.sh
6
setup.sh
@ -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"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user