From 11c3465f9268b073cbd3cb358afd23f4079bf497 Mon Sep 17 00:00:00 2001 From: DEMAREY Christophe Date: Tue, 16 Jan 2024 10:06:43 +0100 Subject: [PATCH] fix wrong VM path in linux packaging fix #642 --- .gitignore | 2 ++ build.sh | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index c7248c9f..a321203e 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,5 @@ site/ *.html *.swp + +.DS_Store diff --git a/build.sh b/build.sh index 86e43647..6d50deca 100755 --- a/build.sh +++ b/build.sh @@ -65,7 +65,7 @@ function package_linux_version() { OUTPUT_PATH=build RESOURCES_PATH=$OUTPUT_PATH/shared rm -f $OUTPUT_PATH; mkdir $OUTPUT_PATH - mkdir $OUTPUT_PATH/icons; cp icons/pharo-launcher.png $OUTPUT_PATH/ + mkdir $OUTPUT_PATH/icons; cp icons/pharo-launcher.png $OUTPUT_PATH/icons/ cp linux/pharo-launcher-ui $OUTPUT_PATH/ cp scripts/pharo-launcher.sh $OUTPUT_PATH/pharo-launcher mkdir $RESOURCES_PATH @@ -74,7 +74,7 @@ function package_linux_version() { cp PharoLauncher.image $RESOURCES_PATH cp PharoLauncher.changes $RESOURCES_PATH cp Pharo*.sources $RESOURCES_PATH - fetch_current_vm_to $(pwd)/$RESOURCES_PATH + fetch_current_vm_to $OUTPUT_PATH # ensure the linux scripts are executable chmod +x "$OUTPUT_PATH/pharo-launcher" "$OUTPUT_PATH/pharo-launcher-ui" || true }