]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
Fix for shell template.
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Tue, 22 Jan 2019 14:27:49 +0000 (15:27 +0100)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Tue, 22 Jan 2019 14:27:49 +0000 (15:27 +0100)
Signed-off-by: Andreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
templates/default-sh.sh

index c70f2dfd2893896871021b6a7dbd3bbe4ec61db4..1391cf8ba56c8557ba64167a9af54268eef068ad 100755 (executable)
@@ -21,7 +21,6 @@
 
   `(downcase (file-name-nondirectory (file-name-sans-extension (buffer-file-name))))` -p password
 
-
 =cut
 
 
@@ -44,19 +43,18 @@ done
 
 EXITCODE=0
 
-if [ -z "${PASSWORD}" ]; then
+if [ -z "\${PASSWORD}" ]; then
     read -s -p "Password: " PASSWORD
     echo
 fi
 
-if [ -z "${PASSWORD}" ]; then pod2usage $0; exit; fi
+if [ -z "\${PASSWORD}" ]; then pod2usage \$0; exit; fi
 
 $0
 
 :<<=cut
 =head1 AUTHOR
 
-
 `(user-full-name)` <`user-mail-address`>
 
 =head1 LICENSE