Skip to content

Commit 1e4045b

Browse files
committed
generate: Unset git-specific variables
git gets confused if it was started within a git rebase context (e.g. with exec keyword in interactive rebase)
1 parent 33827bb commit 1e4045b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

generate.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ REPOSITORY="msm8916-mainline/linux-panel-drivers"
77
KCONFIG="CONFIG_DRM_PANEL_${PROJECT^^}_GENERATED"
88
GENERATOR="linux-mdss-dsi-panel-driver-generator"
99

10+
# Unset some variables that git sets while in rebase session
11+
unset "${!GIT_@}"
12+
1013
export GIT_AUTHOR_NAME="lmdpdg"
1114
export GIT_AUTHOR_EMAIL="<>"
1215

0 commit comments

Comments
 (0)