little workaround BSD abspaths

This commit is contained in:
ville rantanen
2019-04-12 13:46:41 +03:00
parent 5678c7e8f9
commit 93b02c5161
7 changed files with 12 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ for f in "$@"; do
echo "$f" does not exist
continue
}
d=$( readlink -nf $( dirname "$f" ) )/.rm_bg.$$
d=$( abs-path $( dirname "$f" ) )/.rm_bg.$$
mkdir -p "$d"
mv "$f" "$d"/
tempfolders+=( "$d" )