1 # Assumes shell is Bash.
5 # Try *hard* to delete $@. Among other things, some systems have
6 # r-xr-xr-x for root and other system dirs.
7 rm -rf "$@" # Maybe we'll get lucky.
9 test -e "$@" || continue
11 if [[ $(uname) =~ Linux ]]; then
24 test "$#" -eq 1 || return $?
25 local script_home=$(cd "$(dirname $0)" && pwd)
27 PYTHONPATH="${script_home}/../lib" python -c \
28 "import sys, bup.helpers; print bup.helpers.realpath(sys.stdin.readline())" \