fix map script
parent
d6ca4cf0ef
commit
521dd9b38c
|
@ -18,10 +18,13 @@ fi
|
||||||
OUTFILENAME=""
|
OUTFILENAME=""
|
||||||
if [[ "$RENAME" == "false" ]]; then
|
if [[ "$RENAME" == "false" ]]; then
|
||||||
OUTFILENAME="${FILEBASENAME}"
|
OUTFILENAME="${FILEBASENAME}"
|
||||||
elif [["$RENAME" == "true" ]]; then
|
|
||||||
OUTFILENAME=gitea
|
|
||||||
else
|
else
|
||||||
OUTFILENAME="${RENAME}"
|
# not using elif as busybox can't handle it...
|
||||||
|
if [["$RENAME" == "true" ]]; then
|
||||||
|
OUTFILENAME=gitea
|
||||||
|
else
|
||||||
|
OUTFILENAME="${RENAME}"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
FILE_WIHTOUT_PLATFORM="${FILEBASENAME}-${FILEVERSION}"
|
FILE_WIHTOUT_PLATFORM="${FILEBASENAME}-${FILEVERSION}"
|
||||||
|
|
Loading…
Reference in New Issue