From 19e0fccc164b6ed64de4679c8f284bdcdab9fe4b Mon Sep 17 00:00:00 2001 From: Erik Kristensen Date: Sun, 24 Nov 2024 10:03:06 -0700 Subject: [PATCH] fix(installers): command arguments --- scripts/installer.tpl.ps1 | 2 +- scripts/installer.tpl.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/installer.tpl.ps1 b/scripts/installer.tpl.ps1 index 14d2f6a..2e0c6a3 100644 --- a/scripts/installer.tpl.ps1 +++ b/scripts/installer.tpl.ps1 @@ -69,7 +69,7 @@ Expand-Archive -Path "$TMP_DIR\$TAR_FILE" -DestinationPath $TMP_DIR -Force # Run the installation command Write-Host "Installing distillery..." -& "$TMP_DIR\dist" "install ekristen/distillery" @args +& "$TMP_DIR\dist" "install" "ekristen/distillery" @args # Clean up Remove-Item -Recurse -Force $TMP_DIR diff --git a/scripts/installer.tpl.sh b/scripts/installer.tpl.sh index 4d1afe3..e7ac15d 100644 --- a/scripts/installer.tpl.sh +++ b/scripts/installer.tpl.sh @@ -46,4 +46,4 @@ TAR_FILE="${FILE_BASENAME}-${VERSION}-${OS}-${ARCH}.tar.gz" ) tar -xf "$TMP_DIR/$TAR_FILE" -C "$TMP_DIR" -"$TMP_DIR/dist" "install ekristen/distillery" "$@" +"$TMP_DIR/dist" "install" "ekristen/distillery" "$@"