Commit 4f72fbd3 authored by Vitaly Lipatov's avatar Vitaly Lipatov

eget: add realpath()

parent 9963dc26
...@@ -168,6 +168,15 @@ is_command() ...@@ -168,6 +168,15 @@ is_command()
print_command_path "$1" >/dev/null print_command_path "$1" >/dev/null
} }
# add realpath if missed
if ! is_command realpath ; then
realpath()
{
[ -n "$*" ] || return
readlink -f "$@"
}
fi
# check man glob # check man glob
filter_glob() filter_glob()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment