diff --git a/build.sh b/build.sh index 106495cc..3ef3c46d 100755 --- a/build.sh +++ b/build.sh @@ -77,7 +77,7 @@ function package_linux_version() { cp Pharo*.sources $RESOURCES_PATH echo $(pwd) ls -R $OUTPUT_PATH - fetch_current_vm_to $(pwd) + fetch_current_vm_to $OUTPUT_PATH # ensure the linux scripts are executable chmod +x "$OUTPUT_PATH/pharo-launcher" "$OUTPUT_PATH/pharo-launcher-ui" || true } @@ -147,7 +147,7 @@ function fetch_current_vm_to() { if [ -f "$LINUX_VM_PATH" ] ; then unzip -q "$LINUX_VM_PATH" -d "$DEST_PATH/tmp" echo "$DEST_PATH/pharo-vm/" - ls -R "$DEST_PATH/pharo-vm/" + ls -R "$DEST_PATH" mkdir "$DEST_PATH/pharo-vm/" mv "$DEST_PATH"/tmp/* "$DEST_PATH/pharo-vm/" else