From 6767720927506688603c74762a6c7ae112e5b4dd Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Fri, 12 May 2023 12:02:10 -0700 Subject: [PATCH] check for empty or null --- misc/jenkins/compile_other_versions/prepare_bundle.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/jenkins/compile_other_versions/prepare_bundle.sh b/misc/jenkins/compile_other_versions/prepare_bundle.sh index f21bde4f01..b3d26f82ed 100755 --- a/misc/jenkins/compile_other_versions/prepare_bundle.sh +++ b/misc/jenkins/compile_other_versions/prepare_bundle.sh @@ -9,7 +9,7 @@ echo "RUSEFI_BUILD_FTP_USER=$RUSEFI_BUILD_FTP_USER" TIMESTAMP=$(date "+%Y%m%d_%H%M%S") # No arg 3 means this is a snapshot "no name", just use the timestamp -if [ -z $3 ]; then +if [ -z $3 ] || [ $3 = "null" ]; then export FOLDER="temp/fome.snapshot.${TIMESTAMP}.${BUNDLE_NAME}" else export FOLDER="temp/fome.${3}.${BUNDLE_NAME}"