[Groonga-commit] groonga/groonga [master] yum: execute rpm command via xargs to avoid the argument length limit

Back to archive index

HAYASHI Kentaro null+****@clear*****
Fri Sep 28 05:54:46 JST 2012


HAYASHI Kentaro	2012-09-28 05:54:46 +0900 (Fri, 28 Sep 2012)

  New Revision: 27960b726f0b0f542a843c32042e4b146e4dcfac
  https://github.com/groonga/groonga/commit/27960b726f0b0f542a843c32042e4b146e4dcfac

  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 00:33:46 +0900 (67fc8bb)
+++ packages/yum/sign-rpm.sh    2012-09-28 05:54:46 +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����������������������������...
Descargar 



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