Unified · Split
| @@ -170,6 +170,8 @@ case ${FORMAT} in · 169 unmodified lines | ||
| 170 | 170 | *) emsg "Unknown output format \"${FORMAT}\""; exit 1;; |
| 171 | 171 | esac |
| 172 | 172 | |
| 173 | +$msg "${cG}Output dir :$cZ ${DIR:?Output directory was not set}" | |
| 174 | + | |
| 173 | 175 | # splits a file |
| 174 | 176 | split_file ( ) { |
| 175 | 177 | FILE="$1" |
| @@ -257,7 +259,6 @@ split_file ( ) { · 81 unmodified lines | ||
| 257 | 259 | |
| 258 | 260 | $msg "${cG}Cue sheet :$cZ ${CUE}" |
| 259 | 261 | $msg "${cG}Cover image :$cZ ${PIC:-not set}" |
| 260 | − $msg "${cG}Output dir :$cZ ${DIR:?Output directory was not set}" | |
| 261 | 262 | |
| 262 | 263 | # file removal warning |
| 263 | 264 | if [ ${REMOVE} -eq 1 ]; then |
| @@ -504,7 +505,7 @@ if [ -d "${INPATH}" ]; then · 240 unmodified lines | ||
| 504 | 505 | emsg "Directory \"${INPATH}\" is not accessible" |
| 505 | 506 | exit 1 |
| 506 | 507 | fi |
| 507 | − $msg "${cG}Input dir :$cZ ${INPATH}$cZ" | |
| 508 | + $msg "${cG}Input dir :$cZ ${INPATH}$cZ\n" | |
| 508 | 509 | split_dir "${INPATH}" |
| 509 | 510 | elif [ "${INPATH}" ]; then |
| 510 | 511 | split_file "${INPATH}" |