mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Change MAKE_FOLDERS into accepting any value for subfolder
Internal function
This commit is contained in:
@@ -47,17 +47,11 @@ fi
|
||||
|
||||
# image artefact destination with or without subfolder
|
||||
FINALDEST=$DEST/images
|
||||
if [[ "${MAKE_FOLDERS}" == yes ]]; then
|
||||
|
||||
if [[ "$RC" == yes ]]; then
|
||||
FINALDEST=$DEST/images/"${BOARD}"/rc
|
||||
elif [[ "$BETA" == yes ]]; then
|
||||
FINALDEST=$DEST/images/"${BOARD}"/nightly
|
||||
else
|
||||
FINALDEST=$DEST/images/"${BOARD}"/archive
|
||||
fi
|
||||
if [[ -n "${MAKE_FOLDERS}" ]]; then
|
||||
|
||||
FINALDEST=$DEST/images/"${BOARD}"/"${MAKE_FOLDERS}"
|
||||
install -d ${FINALDEST}
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user