[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] yum: execute rpm command via xargs to avoid the argument length limit

Back to archive index

HAYASHI Kentaro null+****@clear*****
Wed Sep 26 15:09:52 JST 2012


HAYASHI Kentaro	2012-09-26 15:09:52 +0900 (Wed, 26 Sep 2012)

  New Revision: fa7dc2c896ec1860c3b3c7a833a5d99c53ac3ef5
  https://github.com/mroonga/mroonga/commit/fa7dc2c896ec1860c3b3c7a833a5d99c53ac3ef5

  Log:
    yum: execute rpm command via xargs to avoid the argument length limit

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

  Modified: packages/yum/sign-rpm.sh (+2 -2)
===================================================================
--- packages/yum/sign-rpm.sh    2012-09-26 12:28:19 +0900 (67fc8bb)
+++ packages/yum/sign-rpm.sh    2012-09-26 15:09:52 +0900 (2022ca6)
@@ -28,10 +28,10 @@ done
 
 echo "NOTE: YOU JUST ENTER! YOU DON'T NEED TO INPUT PASSWORD!"
 echo "      IT'S JUST FOR rpm COMMAND RESTRICTION!"
-run rpm \
+run echo $rpms | xargs rpm \
     -D "_gpg_name ${GPG_UID}" \
     -D "_gpg_digest_algo sha1" \
     -D "__gpg /usr/bin/gpg2" \
     -D "__gpg_check_password_cmd /bin/true true" \
     -D "__gpg_sign_cmd %{__gpg} gpg --batch --no-verbose --no-armor %{?_gpg_digest_algo:--digest-algo %{_gpg_digest_algo}} --no-secmem-warning -u \"%{_gpg_name}\" -sbo %{__signature_filename} %{__plaintext_filename}" \
-    --resign $rpms
+    --resign
-------------- next part --------------
HTML����������������������������...
다운로드 



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