Skip to content

Commit e0f4b7f

Browse files
authored
Change git branch --show to ds_branch in update_self (GhostWriters#2018)
1 parent 6cb80ef commit e0f4b7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.scripts/update_self.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ update_self() {
1212
fi
1313

1414
pushd "${SCRIPTPATH}" &> /dev/null || fatal "Failed to change directory.\nFailing command: ${F[C]}push \"${SCRIPTPATH}\""
15-
CurrentBranch="$(git branch --show)"
15+
CurrentBranch="$(ds_branch)"
1616
CurrentVersion="$(ds_version)"
1717
local Title="Update ${APPLICATION_NAME}"
1818
local Question YesNotice NoNotice

0 commit comments

Comments
 (0)