diff --git a/README.md b/README.md index 709a9ca..30a8082 100755 --- a/README.md +++ b/README.md @@ -245,7 +245,7 @@ follows: * Run build.sh to build all stages * Add SKIP files to the earlier successfully built stages * Modify the last stage - * Rebuild just the last stage using ```sudo CLEAN=1 ./build.sh``` + * Rebuild just the last stage using ```sudo ./build.sh``` * Once you're happy with the image you can remove the SKIP_IMAGES files and export your image to test diff --git a/build.sh b/build.sh index ebeb46a..28cbcf0 100755 --- a/build.sh +++ b/build.sh @@ -143,7 +143,7 @@ export LOG_FILE="${WORK_DIR}/build.log" export BASE_DIR -export CLEAN +export CLEAN=${CLEAN:-"1"} export IMG_NAME export APT_PROXY