From 89d50890cc4258887f80c4f269bd2e15057e2869 Mon Sep 17 00:00:00 2001 From: Ben Newman Date: Fri, 22 Jul 2016 16:10:01 -0400 Subject: [PATCH] Make 7z work even if not in $env:PATH. --- scripts/generate-dev-bundle.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/generate-dev-bundle.ps1 b/scripts/generate-dev-bundle.ps1 index a8951da314..704e35c2f5 100644 --- a/scripts/generate-dev-bundle.ps1 +++ b/scripts/generate-dev-bundle.ps1 @@ -149,8 +149,8 @@ cd "$DIR\.." # rename the folder with the devbundle cmd /c rename "$DIR" "dev_bundle_${PLATFORM}_${BUNDLE_VERSION}" -cmd /c 7z.exe a -ttar dev_bundle.tar "dev_bundle_${PLATFORM}_${BUNDLE_VERSION}" -cmd /c 7z.exe a -tgzip "${CHECKOUT_DIR}\dev_bundle_${PLATFORM}_${BUNDLE_VERSION}.tar.gz" dev_bundle.tar +& "C:\Program Files*\7-zip\7z.exe" a -ttar dev_bundle.tar "dev_bundle_${PLATFORM}_${BUNDLE_VERSION}" +& "C:\Program Files*\7-zip\7z.exe" a -tgzip "${CHECKOUT_DIR}\dev_bundle_${PLATFORM}_${BUNDLE_VERSION}.tar.gz" dev_bundle.tar del dev_bundle.tar cmd /c rmdir "dev_bundle_${PLATFORM}_${BUNDLE_VERSION}" /s /q