HAYASHI Kentaro
null+****@clear*****
Tue Aug 28 10:18:36 JST 2012
HAYASHI Kentaro 2012-08-28 10:18:36 +0900 (Tue, 28 Aug 2012) New Revision: 1859f269291384af7512ce6b406cfb7df3e13996 https://github.com/groonga/groonga/commit/1859f269291384af7512ce6b406cfb7df3e13996 Log: apt yum: accept 'all' as the value of parameter Modified files: packages/check-utility.sh Modified: packages/check-utility.sh (+21 -8) =================================================================== --- packages/check-utility.sh 2012-08-28 11:29:16 +0900 (6658dc5) +++ packages/check-utility.sh 2012-08-28 10:18:36 +0900 (3c7e8b4) @@ -431,22 +431,38 @@ while [ $# -ne 0 ]; do ;; --code) shift - CODES=$1 + if [ "$1" = "all" ]; then + setup_codes + else + CODES=$1 + fi shift ;; --code-arch) shift - DEB_ARCHITECTURES=$1 + if [ "$1" = "all" ]; then + setup_deb_architectures + else + DEB_ARCHITECTURES=$1 + fi shift ;; --dist) shift - DISTRIBUTIONS=$1 + if [ "$1" = "all" ]; then + setup_distributions + else + DISTRIBUTIONS=$1 + fi shift ;; --dist-arch) shift - RPM_ARCHITECTURES=$1 + if [ "$1" = "all" ]; then + setup_rpm_architectures + else + RPM_ARCHITECTURES=$1 + fi shift ;; *) @@ -455,11 +471,8 @@ while [ $# -ne 0 ]; do esac done -setup_distributions -setup_rpm_architectures - -setup_codes setup_deb_architectures +setup_rpm_architectures if [ $CHECK_INSTALL -ne 0 ]; then check_installed_groonga_packages -------------- next part -------------- HTML����������������������������...下载