Navigation Menu

Skip to content

Commit

Permalink
yum centos: support to build specific version of CentOS
Browse files Browse the repository at this point in the history
  • Loading branch information
kenhys committed Aug 27, 2012
1 parent d5b5909 commit 41612bf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/yum/build-in-chroot.sh
Expand Up @@ -161,7 +161,11 @@ for architecture in $ARCHITECTURES; do
distribution_versions="17"
;;
centos)
distribution_versions="5 6"
if [ -n "$CENTOS_VERSIONS" ]; then
distribution_versions="$CENTOS_VERSIONS"
else
distribution_versions="5 6"
fi
;;
esac
for distribution_version in $distribution_versions; do
Expand Down

0 comments on commit 41612bf

Please sign in to comment.