Revert "[import_images] Now gives a file name to consolidated files"

This reverts commit b421fa8309.
This commit is contained in:
ayakael 2018-07-19 06:34:14 -08:00
parent b421fa8309
commit 341289bc68
No known key found for this signature in database
GPG key ID: 575626A4AE5F4026

View file

@ -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}/${DISCID}.$(sed 's|.*\.||' <<< ${path})"
cp --no-preserve=mode "${path}" "${GIT_DIR}/.import/${SOURCE}/${DISCID}/$(sed 's|.*\.||' <<< ${path})"
done
}