diff --git a/build/build-iso.ps1 b/build/build-iso.ps1 index 52b4e147..78ccd4de 100755 --- a/build/build-iso.ps1 +++ b/build/build-iso.ps1 @@ -5,7 +5,7 @@ if ("$currentDir" -ne "$PSScriptRoot") try { pushd "$PSScriptRoot" - . $PSCommandPath + . $PSCommandPath $args } finally { diff --git a/build/build-iso.sh b/build/build-iso.sh index 6b13b8b7..ae6eca77 100755 --- a/build/build-iso.sh +++ b/build/build-iso.sh @@ -9,7 +9,7 @@ EXPECTED_DIR=$(realpath "$PWD") if test "${EXPECTED_DIR}" != "${SCRIPT_DIR}" then - ( cd "$SCRIPT_DIR" || exit ; "./$SCRIPT_NAME" ); + ( cd "$SCRIPT_DIR" || exit ; "./$SCRIPT_NAME" "$@" ); exit fi diff --git a/build/sync.ps1 b/build/sync.ps1 index fb8505e6..472b7838 100755 --- a/build/sync.ps1 +++ b/build/sync.ps1 @@ -5,7 +5,7 @@ if ("$currentDir" -ne "$PSScriptRoot") try { pushd "$PSScriptRoot" - . $PSCommandPath + . $PSCommandPath $args } finally { diff --git a/build/sync.sh b/build/sync.sh index 22ecc9a2..000afbf6 100755 --- a/build/sync.sh +++ b/build/sync.sh @@ -13,7 +13,7 @@ EXPECTED_DIR=$(realpath "$PWD") if test "${EXPECTED_DIR}" != "${SCRIPT_DIR}" then - ( cd "$SCRIPT_DIR" || exit ; "./$SCRIPT_NAME" ); + ( cd "$SCRIPT_DIR" || exit ; "./$SCRIPT_NAME" "$@" ); exit fi