Skip to content

Commit

Permalink
scripts: setlocalversion: Remove '-dirty' append
Browse files Browse the repository at this point in the history
Change-Id: I73e350c92a97d34a692c9183009bc71648858f36
Signed-off-by: Joker-V2 <[email protected]>
  • Loading branch information
RiteshSaxena authored and Joker-V2 committed Jul 24, 2021
1 parent 46e5ec7 commit 0f08d80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/setlocalversion
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ scm_version()

# If we don't have a tag at all we print -g{commitish}.
else
printf '%s%s' -g $head
printf '%s%s'
fi
fi

Expand All @@ -83,7 +83,7 @@ scm_version()
git --no-optional-locks status -uno --porcelain 2>/dev/null ||
git diff-index --name-only HEAD
} | grep -qvE '^(.. )?scripts/package'; then
printf '%s' -dirty
printf '%s'
fi

# All done with git
Expand Down

0 comments on commit 0f08d80

Please sign in to comment.