Commit f54d51ad authored by Vitaly Lipatov's avatar Vitaly Lipatov

add realpath realization if missed

parent d8814981
/etc/eepm.conf конфиг
FIXME: epm-install need realpath, missed on some systems
[18:21:12] <danil> Вот так можно:
RED='\033[0;31m' ; NC='\033[0m' b="b" ; echo -e "aba" | sed -e "s|${b}|\\${RED}${b}\\${NC}|g" | xargs -0 printf
[18:23:40] <danil> > Ты знаешь способы?
......
......@@ -154,6 +154,14 @@ sudocmd_foreach()
done
}
# add realpath if missed
if ! which realpath 2>/dev/null >/dev/null ; then
realpath()
{
readlink -f "$@"
}
fi
get_firstarg()
{
echon "$1"
......
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