Commit 6ab4ce50 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm: fix args for epm tool

parent 50d7e098
...@@ -65,17 +65,15 @@ load_helper epm-sh-functions ...@@ -65,17 +65,15 @@ load_helper epm-sh-functions
# fast call for tool # fast call for tool
if [ "$1" = "tool" ] ; then if [ "$1" = "tool" ] ; then
shift shift
epm_cmd=tool load_helper epm-tool
load_helper epm-$epm_cmd epm_tool "$@"
eval epm_$epm_cmd "$@"
exit exit
fi fi
if [ "$1" = "--inscript" ] && [ "$2" = "tool" ] ; then if [ "$1" = "--inscript" ] && [ "$2" = "tool" ] ; then
shift 2 shift 2
epm_cmd=tool load_helper epm-tool
load_helper epm-$epm_cmd epm_tool "$@"
eval epm_$epm_cmd "$@"
exit exit
fi fi
......
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