Append amnesic to image name

This commit is contained in:
Bob Mottram 2016-07-22 21:47:47 +01:00
parent c54438aa43
commit 0f3b5a65c9
1 changed files with 5 additions and 0 deletions

View File

@ -364,6 +364,11 @@ if [[ $VARIANT == 'usb' ]]; then
IMAGE_NAME=$'usb' IMAGE_NAME=$'usb'
fi fi
# append amnesic to the image name if needed
if [[ $AMNESIC != 'no' ]]; then
IMAGE_NAME="${IMAGE_NAME}-amnesic"
fi
cd $TEMPBUILD_DIR cd $TEMPBUILD_DIR
make $IMAGE_TYPE \ make $IMAGE_TYPE \
MYUSERNAME="$USERNAME" \ MYUSERNAME="$USERNAME" \