]> gitweb.fluxo.info Git - puppet-reprepro.git/commitdiff
Minor changes
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 9 May 2010 03:56:00 +0000 (00:56 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 9 May 2010 03:56:00 +0000 (00:56 -0300)
templates/reprepro-export-key.sh.erb

index ecd2cf2768be3da5609c21bc7447dc3c47176d88..52e277c0701e4ac39486eeca7034bf5ae3a4ded9 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-KEY="`/usr/bin/gpg --with-colon --list-secret-keys | cut -d : -f 5 | head -1`"
+KEY="`/usr/bin/gpg --with-colon --list-secret-keys | /usr/bin/cut -d : -f 5 | /usr/bin/head -1`"
 
 if [ ! -z "$KEY" ]; then
   /usr/bin/gpg --export --armor $KEY > <%= basedir %>/key.asc