diff --git a/script/tools/copy_embedded_img.sh b/script/tools/copy_embedded_img.sh index 6a60243255e7997ecf9072c93c603309242a3188..2b90d1854ece201685d817b99d53511023d7a76c 100644 --- a/script/tools/copy_embedded_img.sh +++ b/script/tools/copy_embedded_img.sh @@ -16,12 +16,12 @@ cd ${latest_iso_dir} if [ ! -d embedded_img ];then mkdir embedded_img else - echo "[INFO]: This ${latest_iso_dir} already have an embedded_img directory." + rm -rf embedded_img + echo "[INFO]: old embedded_img directory will deleted." fi ") if [ -n "$res" ];then echo $res - exit 0 fi mkdir tmpdir expect <<-END1