diff --git a/cm.sh b/cm.sh index b560bcfd54d982b7718e18e02e456d97e4afb72e..28b35841720c49b756c3b6c53c107af64b0cf668 100755 --- a/cm.sh +++ b/cm.sh @@ -396,7 +396,7 @@ _testStaging test -z "${CM_diracme}" && CM_diracme=./certs test -z "${CM_dircsr}" && CM_dircsr=./csr -grep "function\ public_$1" $0 >/dev/null +grep "function\ public_$1" $( basename $0 ) >/dev/null if [ $# -gt 0 -a $? -eq 0 ]; then # _wd $* action=$1