diff --git a/misc/jenkins/compile_other_versions/prepare_bundle.sh b/misc/jenkins/compile_other_versions/prepare_bundle.sh index 8594feb0d3..959dcca840 100644 --- a/misc/jenkins/compile_other_versions/prepare_bundle.sh +++ b/misc/jenkins/compile_other_versions/prepare_bundle.sh @@ -1,14 +1,15 @@ #!/bin/bash +BUNDLE_NAME="$1" SCRIPT_NAME="prepare_bundle.sh" -echo "Entering $SCRIPT_NAME with $BUNDLE_NAME" +echo "Entering $SCRIPT_NAME with ${BUNDLE_NAME}" echo "RUSEFI_BUILD_FTP_USER=$RUSEFI_BUILD_FTP_USER" TIMESTAMP=$(date "+%Y%m%d_%H%M%S") -export FOLDER="temp/snapshot_${TIMESTAMP}_${2}_rusefi" +export FOLDER="temp/snapshot_${TIMESTAMP}_${BUNDLE_NAME}_rusefi" -export BUNDLE_FULL_NAME="rusefi_bundle_$BUNDLE_NAME" +export BUNDLE_FULL_NAME="rusefi_bundle_${BUNDLE_NAME}" bash misc/jenkins/build_working_folder.sh