[Groonga-commit] groonga/groonga [master] yum: remove needless thin wrapper script

Back to archive index

null+****@clear***** null+****@clear*****
2012年 4月 25日 (水) 16:10:12 JST


Kouhei Sutou	2012-04-25 16:10:12 +0900 (Wed, 25 Apr 2012)

  New Revision: 4f47fa010622ac2e49bcb67daddeacd318a1dbda

  Log:
    yum: remove needless thin wrapper script

  Removed files:
    packages/yum/gpg-public-key.sh
  Modified files:
    packages/yum/Makefile.am

  Modified: packages/yum/Makefile.am (+1 -1)
===================================================================
--- packages/yum/Makefile.am    2012-04-25 16:08:27 +0900 (33a8cba)
+++ packages/yum/Makefile.am    2012-04-25 16:10:12 +0900 (821ae85)
@@ -57,7 +57,7 @@ build-repository-rpm: RPM-GPG-KEY-$(PACKAGE)
 	  $(HAVE_DEVELOPMENT_BRANCH)
 
 RPM-GPG-KEY-$(PACKAGE): $(top_srcdir)/gpg_uid
-	./gpg-public-key.sh '$(GPG_UID)' > $@
+	gpg --armor --export '$(GPG_UID)' > $@
 
 source: ../$(PACKAGE)-$(VERSION).tar.gz
 

  Deleted: packages/yum/gpg-public-key.sh (+0 -13) 100755
===================================================================
--- packages/yum/gpg-public-key.sh    2012-04-25 16:08:27 +0900 (d3d3fe0)
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-script_base_dir=`dirname $0`
-
-if [ $# != 1 ]; then
-    echo "Usage: $0 GPG_UID"
-    echo " e.g.: $0 'F10399C0'"
-    exit 1
-fi
-
-GPG_UID=$1
-
-gpg -a --export "${GPG_UID}"




Groonga-commit メーリングリストの案内
Back to archive index