[import_images] Now created folder in import dir
This commit is contained in:
parent
64ddaaaeaa
commit
3ac1459e7d
1 changed files with 2 additions and 1 deletions
|
@ -43,8 +43,9 @@ import_images() {
|
|||
done
|
||||
|
||||
# Copies path to import folder
|
||||
mkdir -p "${GIT_DIR}/.import/${SOURCE}/$(dirname ${IMG})"
|
||||
for path in ${pathList[@]}; do
|
||||
cp "${path}" "${GIT_DIR}/.import/${SOURCE}/$(sed 's|.*/.||' <<< ${TRACK_DIR})"
|
||||
cp "${path}" "${GIT_DIR}/.import/${SOURCE}/$(dirname ${IMG})/$(sed 's|.*/.||' <<< ${TRACK_DIR})"
|
||||
done
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue