[Groonga-commit] groonga/groonga at 64584a3 [master] package yum: add /sbin explicitly for CentOS 5

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Oct 12 12:03:06 JST 2014


Kouhei Sutou	2014-10-12 12:03:06 +0900 (Sun, 12 Oct 2014)

  New Revision: 64584a3c7584b6fa9cd9b645faddddc979f739b6
  https://github.com/groonga/groonga/commit/64584a3c7584b6fa9cd9b645faddddc979f739b6

  Message:
    package yum: add /sbin explicitly for CentOS 5

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

  Modified: packages/yum/build-rpm.sh (+2 -2)
===================================================================
--- packages/yum/build-rpm.sh    2014-10-12 12:01:02 +0900 (3fe9d2d)
+++ packages/yum/build-rpm.sh    2014-10-12 12:03:06 +0900 (bc161c3)
@@ -15,8 +15,8 @@ rpmbuild_options=
 
 swap_file=/tmp/swap
 run sudo dd if=/dev/zero of="$swap_file" bs=1024 count=4096K
-run sudo mkswap "$swap_file"
-run sudo swapon "$swap_file"
+run sudo PATH=/sbin:$PATH mkswap "$swap_file"
+run sudo PATH=/sbin:$PATH swapon "$swap_file"
 
 distribution=$(cut -d " " -f 1 /etc/redhat-release | tr "A-Z" "a-z")
 if grep -q Linux /etc/redhat-release; then
-------------- next part --------------
HTML����������������������������...
Download 



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