[import_images] Now gives a file name to consolidated files
This commit is contained in:
parent
78e2f5ebd8
commit
b421fa8309
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ import_images() {
|
|||
rm -Rf "${GIT_DIR}/.import/${SOURCE}/${DISCID}" >/dev/null 2>&1
|
||||
mkdir -p "${GIT_DIR}/.import/${SOURCE}/${DISCID}"
|
||||
for path in ${pathList[@]}; do
|
||||
cp --no-preserve=mode "${path}" "${GIT_DIR}/.import/${SOURCE}/${DISCID}/$(sed 's|.*\.||' <<< ${path})"
|
||||
cp --no-preserve=mode "${path}" "${GIT_DIR}/.import/${SOURCE}/${DISCID}/${DISCID}.$(sed 's|.*\.||' <<< ${path})"
|
||||
done
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue