Skip to content

Commit b62ecde

Browse files
committed
fix maybe dir not exit
1 parent ed0a84c commit b62ecde

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

apple/compile-any.sh

+3-5
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,9 @@ if [[ -z "$CMD" ]]; then
6060
exit 1
6161
fi
6262

63-
64-
65-
export XC_SRC_ROOT=$(cd "${THIS_DIR}/../build/src/${PLAT}";pwd)
66-
export XC_PRODUCT_ROOT=$(cd "${THIS_DIR}/../build/product/${PLAT}";pwd)
67-
export XC_UNI_PROD_DIR=$(cd "${XC_PRODUCT_ROOT}/universal";pwd)
63+
export XC_SRC_ROOT="${THIS_DIR}/../build/src/${PLAT}"
64+
export XC_PRODUCT_ROOT="${THIS_DIR}/../build/product/${PLAT}"
65+
export XC_UNI_PROD_DIR="${XC_PRODUCT_ROOT}/universal"
6866

6967
export XC_PLAT="$PLAT"
7068
export XC_CMD="$CMD"

0 commit comments

Comments
 (0)