|
@@ -198,7 +198,7 @@ copy-tar() {
|
|
|
local globbed
|
|
local globbed
|
|
|
# "find: warning: -path ./xxx/ will not match anything because it ends with /."
|
|
# "find: warning: -path ./xxx/ will not match anything because it ends with /."
|
|
|
local findGlobbedPath="${f%/}"
|
|
local findGlobbedPath="${f%/}"
|
|
|
- findGlobbedPath="${f#./}"
|
|
|
|
|
|
|
+ findGlobbedPath="${findGlobbedPath#./}"
|
|
|
globbed=( $(cd "$dDir" && find -path "./$findGlobbedPath") )
|
|
globbed=( $(cd "$dDir" && find -path "./$findGlobbedPath") )
|
|
|
if [ "${#globbed[@]}" -eq 0 ]; then
|
|
if [ "${#globbed[@]}" -eq 0 ]; then
|
|
|
globbed=( "$f" )
|
|
globbed=( "$f" )
|