From 9110f895d243776fa41ee4576f71ebf6e8d826b0 Mon Sep 17 00:00:00 2001 From: George Danchev Date: Sun, 24 Jul 2011 14:56:36 +0000 Subject: [PATCH] give hints only if the result is left in place --- releng/manual_isojigdo | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/releng/manual_isojigdo b/releng/manual_isojigdo index e5ba4e1d..4d7796ac 100755 --- a/releng/manual_isojigdo +++ b/releng/manual_isojigdo @@ -245,10 +245,12 @@ if [ -f "${TMP_DATA_DIR}"/"${REMOTE_IMG}" ]; then fi # last hints -printf "\n${SELF}: HINT: manual checks remained to be done:\n" -printf " * ${GEN_DATA_DIR}/${RELENG_IMG}.iso boots from USB stick and/or optical media.\n" -printf " * appended FAT partition is mountable.\n" -printf " * xorriso -indev ${GEN_DATA_DIR}/${RELENG_IMG}.iso -pvd_info\n" -printf " * fdisk -lu ${GEN_DATA_DIR}/${RELENG_IMG}.iso\n" +if [ -d ${GEN_DATA_DIR} ]; then + printf "\n${SELF}: HINT: manual checks remained to be done:\n" + printf " * ${GEN_DATA_DIR}/${RELENG_IMG}.iso boots from USB stick and/or optical media.\n" + printf " * appended FAT partition is mountable.\n" + printf " * xorriso -indev ${GEN_DATA_DIR}/${RELENG_IMG}.iso -pvd_info\n" + printf " * fdisk -lu ${GEN_DATA_DIR}/${RELENG_IMG}.iso\n" +fi exit 0