little workaround BSD abspaths
This commit is contained in:
@@ -41,7 +41,7 @@ mkdir -p "$SAFELOC"
|
||||
now=$( date -Idate )
|
||||
for d in "${FOLDERS[@]}"; do
|
||||
if [[ ! -e "$d" ]]; then continue; fi
|
||||
path=$( readlink -f "$d" )
|
||||
path=$( abs-path "$d" )
|
||||
dir=$( dirname "$path" )
|
||||
if [[ "$VERBOSE" -eq 1 ]]; then echo "$SAFELOC/$now/$path"; fi
|
||||
if [[ -e "$SAFELOC/$now/$path" ]]; then file-version $QUIET "$SAFELOC/$now/$path"; fi
|
||||
|
||||
Reference in New Issue
Block a user