Skip to content

Commit

Permalink
Update build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Mar 25, 2024
1 parent 5e6a0dd commit b299aa6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ fi

IMAGE_TYPE=$1
TESTING=$2
SMALL=$3

# print a simple line across the entire width of the terminal like '------------'
line (){
Expand Down Expand Up @@ -73,10 +72,8 @@ run_stage(){
unmount_image
cp "${PREV_WORK_DIR}/IMAGE.img" "${STAGE_WORK_DIR}/IMAGE.img"
mount_image
if [[ "${SMALL}" == "small" ]]; then
echo "deleteing last work dir...SMALL option"
rm -r "${PREV_WORK_DIR}"
fi
else
log "[ERROR] No image to copy in ${PREV_WORK_DIR}/"
fi
Expand Down

0 comments on commit b299aa6

Please sign in to comment.