Files
rexbacklight/scripts/git_branch_name.sh
T

8 lines
136 B
Bash
Executable File

#!/bin/sh
output="$(git rev-parse --abbrev-ref HEAD)"
if test -n "$output";then
echo "#define GIT_BRANCH_NAME \"$output\" //test"
fi