diff --git a/split2flac b/split2flac index 2cbb71a..bc0d905 100755 --- a/split2flac +++ b/split2flac @@ -743,6 +743,11 @@ split_collection () { return 0 } +# Defined current dir as input if undefined +if [ -z "${INPATH}" ]; then + INPATH="." +fi + if [ -d "${INPATH}" ]; then if [ ! -x "${INPATH}" ]; then emsg "Directory \"${INPATH}\" is not accessible\n"