[Groonga-commit] groonga/groonga [master] yum: simplify the expression

Back to archive index

HAYASHI Kentaro null+****@clear*****
Fri Aug 24 12:35:37 JST 2012


HAYASHI Kentaro	2012-08-24 12:35:37 +0900 (Fri, 24 Aug 2012)

  New Revision: 6375c5118f5351ae698d325ecf1fda29779b2855
  https://github.com/groonga/groonga/commit/6375c5118f5351ae698d325ecf1fda29779b2855

  Log:
    yum: simplify the expression

  Modified files:
    packages/yum/build-in-chroot.sh

  Modified: packages/yum/build-in-chroot.sh (+1 -1)
===================================================================
--- packages/yum/build-in-chroot.sh    2012-08-24 12:32:35 +0900 (9842212)
+++ packages/yum/build-in-chroot.sh    2012-08-24 12:35:37 +0900 (187676f)
@@ -154,7 +154,7 @@ for architecture in $ARCHITECTURES; do
 		;;
 	    centos)
 		distribution_versions="5 6"
-		if [ ! -z "$DISTRIBUTION_VERSIONS" ]; then
+		if [ -n "$DISTRIBUTION_VERSIONS" ]; then
 		    distribution_versions=$DISTRIBUTION_VERSIONS
 		fi
 		;;
-------------- next part --------------
HTML����������������������������...
Download 



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