Parse --with-packages and --with-sdk correctly (#18403)
This commit is contained in:
parent
0644f48e14
commit
54bf3a61c0
1 changed files with 2 additions and 2 deletions
|
@ -142,7 +142,7 @@ while [[ $# > 0 ]]; do
|
|||
-use-mono-runtime)
|
||||
properties="$properties /p:SourceBuildUseMonoRuntime=true"
|
||||
;;
|
||||
--with-packages)
|
||||
-with-packages)
|
||||
CUSTOM_PACKAGES_DIR="$(cd -P "$2" && pwd)"
|
||||
if [ ! -d "$CUSTOM_PACKAGES_DIR" ]; then
|
||||
echo "Custom prviously built packages directory '$CUSTOM_PACKAGES_DIR' does not exist"
|
||||
|
@ -150,7 +150,7 @@ while [[ $# > 0 ]]; do
|
|||
fi
|
||||
shift
|
||||
;;
|
||||
--with-sdk)
|
||||
-with-sdk)
|
||||
CUSTOM_SDK_DIR="$(cd -P "$2" && pwd)"
|
||||
if [ ! -d "$CUSTOM_SDK_DIR" ]; then
|
||||
echo "Custom SDK directory '$CUSTOM_SDK_DIR' does not exist"
|
||||
|
|
Loading…
Reference in a new issue