Skip to content
Snippets Groups Projects
Commit 3de70296 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

show dir in help output

parent 22065c3a
No related branches found
No related tags found
1 merge request!26show dir in help output
......@@ -927,6 +927,9 @@ function public_transfer(){
cd $( dirname $0 )
test -z "${CM_diracme}" && CM_diracme=./certs
test -z "${CM_dircsr}" && CM_dircsr=./csr
cat <<ENDOFHEADER
$line
......@@ -937,7 +940,6 @@ $line
ENDOFHEADER
while [[ "$#" -gt 0 ]]; do case $1 in
-a|--alias)
......@@ -991,8 +993,6 @@ while [[ "$#" -gt 0 ]]; do case $1 in
;;
esac; done
which openssl >/dev/null || exit 1
. ./inc_config.sh
if [ $? -ne 0 ]; then
_we "Loading the config failed."
......@@ -1001,12 +1001,11 @@ if [ $? -ne 0 ]; then
exit 1
fi
which openssl >/dev/null || exit 1
_testUser
_testStaging
test -z "${CM_diracme}" && CM_diracme=./certs
test -z "${CM_dircsr}" && CM_dircsr=./csr
grep "function public_$1" "$( basename "$0" )" >/dev/null
if [ $# -gt 0 -a $? -eq 0 ]; then
# _wd $*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment