Skip to content

Commit

Permalink
pass arguments to recursive call
Browse files Browse the repository at this point in the history
  • Loading branch information
hardliner66 committed May 2, 2022
1 parent 938aafd commit a401adb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/build-iso.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if ("$currentDir" -ne "$PSScriptRoot")
try
{
pushd "$PSScriptRoot"
. $PSCommandPath
. $PSCommandPath $args
}
finally
{
Expand Down
2 changes: 1 addition & 1 deletion build/build-iso.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion build/sync.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if ("$currentDir" -ne "$PSScriptRoot")
try
{
pushd "$PSScriptRoot"
. $PSCommandPath
. $PSCommandPath $args
}
finally
{
Expand Down
2 changes: 1 addition & 1 deletion build/sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a401adb

Please sign in to comment.