no longer hardcode master branch version
@ -23,11 +23,14 @@ ARCH=$(arch)
if [ -f /etc/os-release ]; then
eval $(grep VERSION_ID /etc/os-release)
if git branch -a | grep -q f$VERSION_ID; then
BRANCH=f$VERSION_ID
else
case $VERSION_ID in
26) BRANCH=master ;;
7.*) BRANCH=epel7 ;;
*) BRANCH="f$VERSION_ID" ;;
*) BRANCH=master ;;
esac
fi
# assume RHEL6
BRANCH=el6