[Groonga-mysql-commit] mroonga/mroonga at 26f5b9e [master] Improve function name

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Jun 9 08:42:18 JST 2013


Kouhei Sutou	2013-06-09 08:42:18 +0900 (Sun, 09 Jun 2013)

  New Revision: 26f5b9e9f07146693c8f6d99b6153ff3b3d5e76b
  https://github.com/mroonga/mroonga/commit/26f5b9e9f07146693c8f6d99b6153ff3b3d5e76b

  Message:
    Improve function name
    
    It is a filter command. So "get_" is storange. A command that names
    "get_" will extract information by itself.

  Modified files:
    packages/yum/sign-rpm.sh

  Modified: packages/yum/sign-rpm.sh (+2 -2)
===================================================================
--- packages/yum/sign-rpm.sh    2013-06-09 08:40:11 +0900 (812ff6e)
+++ packages/yum/sign-rpm.sh    2013-06-09 08:42:18 +0900 (511fb3d)
@@ -21,7 +21,7 @@ run()
     fi
 }
 
-get_unsigned_rpm()
+unsigned_rpms()
 {
     while read rpm; do
 	rpm --checksig "$rpm" | grep -v 'gpg OK' | cut -d":" -f1
@@ -30,7 +30,7 @@ get_unsigned_rpm()
 
 rpms=""
 for distribution in ${DISTRIBUTIONS}; do
-    rpms="${rpms} $(find ${DESTINATION}${distribution} -name '*.rpm' | get_unsigned_rpm)"
+    rpms="${rpms} $(find ${DESTINATION}${distribution} -name '*.rpm' | unsigned_rpms)"
 done
 
 echo "NOTE: YOU JUST ENTER! YOU DON'T NEED TO INPUT PASSWORD!"
-------------- next part --------------
HTML����������������������������...
下载 



More information about the Groonga-mysql-commit mailing list
Back to archive index