Merge branch '4-with-rename-pattern-destination-files-can-have-in-db-if-tags-missing' into 'master'
Resolve "With rename pattern, destination files can have "//" in DB if tags missing" Closes #4 See merge request atom/AtOM!7
This commit is contained in:
commit
79cfcc6948
@ -86,7 +86,8 @@ getDestDir() {
|
|||||||
echo "$thispart" >&${toascii[1]}
|
echo "$thispart" >&${toascii[1]}
|
||||||
read -r -u${toascii[0]} thispart
|
read -r -u${toascii[0]} thispart
|
||||||
fi
|
fi
|
||||||
destdir+="/$(sanitizeFile "$thispart" dir)"
|
sanitized="$(sanitizeFile "$thispart" dir)"
|
||||||
|
destdir+="${sanitized:+/}$sanitized"
|
||||||
part=${part#*/}
|
part=${part#*/}
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user