diff options
author | Endi S. Dewata <edewata@redhat.com> | 2016-08-20 04:41:00 +0200 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2016-08-20 04:41:00 +0200 |
commit | 46f2537cf5947ced95d73cde6dbb165c461d6b0f (patch) | |
tree | 8aa9d3bed9480e987e8627fe8e01bbbeebe311f9 | |
parent | 29a95e9e0228cebc484e080707ba9a8bd651b015 (diff) | |
download | pki-dev-46f2537cf5947ced95d73cde6dbb165c461d6b0f.tar.gz pki-dev-46f2537cf5947ced95d73cde6dbb165c461d6b0f.tar.xz pki-dev-46f2537cf5947ced95d73cde6dbb165c461d6b0f.zip |
Fixed LunaSA scripts.
-rwxr-xr-x | tools/lunasa-del (renamed from tools/lunasa-del.sh) | 10 | ||||
-rwxr-xr-x | tools/lunasa-find (renamed from tools/lunasa-find.sh) | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/tools/lunasa-del.sh b/tools/lunasa-del index cfc4bc5..a5cfe8a 100755 --- a/tools/lunasa-del.sh +++ b/tools/lunasa-del @@ -5,7 +5,7 @@ password_file= run=1 # read the options -TEMP=`getopt -o f:nv --long help -n 'lunasa-del.sh' -- "$@"` +TEMP=`getopt -o f:nv --long help -n 'lunasa-del' -- "$@"` eval set -- "$TEMP" # extract options and their arguments into variables. @@ -16,7 +16,7 @@ while true ; do shift 2 ;; --help) - echo "Usage: lunasa-del.sh <prefix> -f <password file> [OPTIONS]" + echo "Usage: lunasa-del <prefix> -f <password file> [OPTIONS]" echo echo "Options:" echo " -f <password file> File containing LunaSA password." @@ -39,7 +39,7 @@ while true ; do ;; *) echo "Error: invalid option $1" >&2 - echo "Run lunasa-del.sh --help for help." >&2 + echo "Run lunasa-del --help for help." >&2 exit 1 ;; esac @@ -55,7 +55,7 @@ fi if [[ "$prefix" == "" ]] then echo "Error: missing prefix" >&2 - echo "Run lunasa-del.sh --help for help." >&2 + echo "Run lunasa-del --help for help." >&2 exit 1 fi @@ -67,7 +67,7 @@ fi if [[ "$password_file" == "" ]] then echo "Error: missing password file" >&2 - echo "Run lunasa-del.sh --help for help." >&2 + echo "Run lunasa-del --help for help." >&2 exit 1 fi diff --git a/tools/lunasa-find.sh b/tools/lunasa-find index 7f36897..7d4fc65 100755 --- a/tools/lunasa-find.sh +++ b/tools/lunasa-find @@ -4,7 +4,7 @@ verbose= password_file= # read the options -TEMP=`getopt -o f:v --long help -n 'lunasa-find.sh' -- "$@"` +TEMP=`getopt -o f:v --long help -n 'lunasa-find' -- "$@"` eval set -- "$TEMP" # extract options and their arguments into variables. @@ -15,7 +15,7 @@ while true ; do shift 2 ;; --help) - echo "Usage: lunasa-find.sh <prefix> -f <password file> [OPTIONS]" + echo "Usage: lunasa-find <prefix> -f <password file> [OPTIONS]" echo echo "Options:" echo " -f <password file> File containing LunaSA password." @@ -33,7 +33,7 @@ while true ; do ;; *) echo "Error: invalid option $1" >&2 - echo "Run lunasa-find.sh --help for help." >&2 + echo "Run lunasa-find --help for help." >&2 exit 1 ;; esac @@ -47,7 +47,7 @@ fi if [[ "$password_file" == "" ]] then echo "Error: missing password file" >&2 - echo "Run lunasa-del.sh --help for help." >&2 + echo "Run lunasa-find --help for help." >&2 exit 1 fi |