Sfoglia il codice sorgente

Append amnesic to image name

Bob Mottram 8 anni fa
parent
commit
0f3b5a65c9
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5
    0
      src/freedombone-image

+ 5
- 0
src/freedombone-image Vedi File

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