We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecd5642 commit 239ef1eCopy full SHA for 239ef1e
install-scripts/skm-install.sh
@@ -39,7 +39,7 @@ fi
39
# git clone --depth 1 --branch master $GIT_SKM_REPO "${INSTALL_PATH}"
40
41
# Check if testing (using develop or another branch other than master)
42
-BRANCH_NAME="$(git branch --show-current)"
+BRANCH_NAME="$(git rev-parse --abbrev-ref HEAD)"
43
echo "Using $BRANCH_NAME branch.";
44
echo $(git branch --show-current)
45
if [[ "$BRANCH_NAME" == "master" ]]; then
0 commit comments