Kouhei Sutou
null+****@clear*****
Sun Oct 12 16:40:04 JST 2014
Kouhei Sutou 2014-10-12 16:40:04 +0900 (Sun, 12 Oct 2014) New Revision: 4c1392d2a8ac00a0699cd35a7cae1b1d6afb7c53 https://github.com/groonga/groonga/commit/4c1392d2a8ac00a0699cd35a7cae1b1d6afb7c53 Message: packages yum: use absolute path Modified files: packages/yum/build-rpm.sh Modified: packages/yum/build-rpm.sh (+2 -2) =================================================================== --- packages/yum/build-rpm.sh 2014-10-12 16:39:05 +0900 (bc161c3) +++ packages/yum/build-rpm.sh 2014-10-12 16:40:04 +0900 (30b0135) @@ -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 PATH=/sbin:$PATH mkswap "$swap_file" -run sudo PATH=/sbin:$PATH swapon "$swap_file" +run sudo /sbin/mkswap "$swap_file" +run sudo /sbin/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