[csw-devel] SF.net SVN: opencsw:[452] catalog_signatures/bin/daemon_verify
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Thu Jul 21 05:17:32 CEST 2011
Revision: 452
http://opencsw.svn.sourceforge.net/opencsw/?rev=452&view=rev
Author: bdwalton
Date: 2011-07-21 03:17:32 +0000 (Thu, 21 Jul 2011)
Log Message:
-----------
ensure we get a datestamp note from the verification script before we make the gpg call so we can visually detect that it is waiting on something
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:17:12 UTC (rev 451)
+++ catalog_signatures/bin/daemon_verify 2011-07-21 03:17:32 UTC (rev 452)
@@ -5,14 +5,15 @@
DAEMON="${APP_BIN}/catalog_gpg"
while /bin/true; do
+ echo -n "$(date +%c): Checking; "
# test that the passphrase is still cached...
gpg --yes --batch --homedir "${APP_GPG}" --clearsign --armor --output "${APP_TMP}/$(basename ${DAEMON}).asc" "${DAEMON}"
if [ $? -eq 0 ]; then
- echo "$(date +%c): Ok."
+ echo "Ok."
sleep 60
else
- echo "$(date +%c): AHA! The passphrase has expired...press ENTER"
+ echo "AHA! The passphrase has expired...press ENTER"
read CONT
fi
done
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