From b99fe7e7ecea16dd0d7da252a4b0bb5e6d80c070 Mon Sep 17 00:00:00 2001 From: rhatto Date: Thu, 18 Dec 2008 12:56:08 +0000 Subject: minor fixes git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@678 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/createpkg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'trunk') diff --git a/trunk/src/createpkg b/trunk/src/createpkg index 0f47601..60345db 100644 --- a/trunk/src/createpkg +++ b/trunk/src/createpkg @@ -705,9 +705,9 @@ if [ $SIGN_PACKAGES -eq $on ]; then else if [ ! -z "$SIGN_PACKAGES_USER" ]; then SIGN_KEYID="`su $SIGN_PACKAGES_USER -c \ - "gpg --list-secret-keys --with-colons | grep ^sec | head -n 1 | cut -d : -f 5 | awk '{print substr($0, length($0)-7)}'"`" + "gpg --list-secret-keys --with-colons | grep ^sec | head -n 1 | cut -d : -f 5 | sed 's/^.*\(.\{8\}\)$/\1/'"`" else - SIGN_KEYID="`gpg --list-secret-keys --with-colons | grep ^sec | head -n 1 | cut -d : -f 5 | awk '{print substr($0, length($0)-7)}'`" + SIGN_KEYID="`gpg --list-secret-keys --with-colons | grep ^sec | head -n 1 | cut -d : -f 5 | sed 's/^.*\(.\{8\}\)$/\1/'`" fi fi -- cgit v1.2.3