[csw-devel] SF.net SVN: opencsw:[434] catalog_signatures/bin/daemon_verify

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Thu Jul 21 05:11:10 CEST 2011


Revision: 434
          http://opencsw.svn.sourceforge.net/opencsw/?rev=434&view=rev
Author:   bdwalton
Date:     2011-07-21 03:11:10 +0000 (Thu, 21 Jul 2011)

Log Message:
-----------
shell operators are not perl operators.  use -eq instead of eq

Signed-off-by: Ben Walton <bwalton at opencsw.org>

Modified Paths:
--------------
    catalog_signatures/bin/daemon_verify

Modified: catalog_signatures/bin/daemon_verify
===================================================================
--- catalog_signatures/bin/daemon_verify	2011-07-21 03:10:50 UTC (rev 433)
+++ catalog_signatures/bin/daemon_verify	2011-07-21 03:11:10 UTC (rev 434)
@@ -26,7 +26,7 @@
     # test that the passphrase is still cached...
     gpg --yes --batch --homedir "${DAEMON_GPG}" --clearsign --armor --output "${DAEMON_TMP}/$(basename ${DAEMON}).asc" "${DAEMON}"
 
-    if [ $? eq 0 ]; then
+    if [ $? -eq 0 ]; then
 	echo "$(date +%c): Ok."
 	sleep 60
     else


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list