Skip to content

Commit 425f65c

Browse files
committed
fixed ${PROJECTVER} logic. use string logic instead of int logic so we
can use semver instead of interger versiong
1 parent d92b754 commit 425f65c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gen_cloud_template.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ _compile_template(){
346346
[ ${PROJECTARCH} == "any" -o ${PROJECTARCH} == "" ] && PROJECTARCH=$(uname -m)
347347
outfile_name+="${PROJECTARCH}_"
348348
# Project Version
349-
if [[ ! -z ${PROJECTVER} && ${PROJECTVER} -ne 0 ]];then
349+
if [[ ! -z ${PROJECTVER} && ${PROJECTVER} != "0" ]];then
350350
outfile_name+="${PROJECTVER}_"
351351
else
352352
# Datestamp. If there is no version, use a datestamp, ArchLinux style

0 commit comments

Comments
 (0)