mirror of
https://github.com/24eme/signaturepdf
synced 2026-03-14 13:55:44 +01:00
create_nss_certs.sh usage
This commit is contained in:
parent
7f2a8bfa29
commit
884b28bce9
1 changed files with 5 additions and 5 deletions
|
|
@ -6,17 +6,17 @@ nss_nick=$3
|
|||
signaturepdf_url=$4
|
||||
|
||||
if ! test "$signaturepdf_url"; then
|
||||
echo "Usage:"
|
||||
echo "\t$0 <nss_dir> <nss_pass> <nss_nick> <signaturepdf_url>";
|
||||
exit 1:
|
||||
echo "Usage:" 1>&2 ;
|
||||
echo " $0 <nss_dir> <nss_pass> <nss_nick> <signaturepdf_url>" 1>&2 ;
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
if ! test -d "$nss_dir"; then
|
||||
echo "ERROR: nss_dir \"$nss_dir\" should exist";
|
||||
echo "ERROR: nss_dir \"$nss_dir\" should exist" 1>&2 ;
|
||||
exit 2;
|
||||
fi
|
||||
if echo "$nss_nick" | grep '\.' > /dev/null ; then
|
||||
echo "ERROR: $nss_nick should not contain . ";
|
||||
echo "ERROR: $nss_nick should not contain . " 1>&2 ;
|
||||
exit 3;
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue