diff --git a/core/sqf/build-scripts/build.branch b/core/sqf/build-scripts/build.branch index 4b508cc16a..001e60ac72 100755 --- a/core/sqf/build-scripts/build.branch +++ b/core/sqf/build-scripts/build.branch @@ -47,7 +47,7 @@ if [[ "$USE_GIT" == "1" ]];then # runs make with a detached HEAD then change the space in "(no branch)" # to an underscore so it can be used. if [ -z "$ZUUL_BRANCH" ]; then - branch=$(git branch --no-color| grep '^\* ' | sed 's/(no branch)/no_branch/' | awk '{print $2}') + branch=$(git branch --no-color| grep '^\* ' | sed -e 's/(no branch)/no_branch/' -e 's/(detached .*)/no_branch/' | awk '{print $2}') else branch=$ZUUL_BRANCH; fi diff --git a/core/sqf/conf/install_features b/core/sqf/conf/install_features index bef95dab8a..535f4fac32 100644 --- a/core/sqf/conf/install_features +++ b/core/sqf/conf/install_features @@ -69,3 +69,5 @@ export CDH_5_7_SUPPORT="Y" export APACHE_1_0_X_SUPPORT="Y" export APACHE_1_1_X_SUPPORT="Y" export APACHE_1_2_X_SUPPORT="Y" + +export REDHAT_7_SUPPORT="Y"