Skip to content

Commit 5a35fd3

Browse files
nikos-githublguohan
authored andcommitted
Fix frr debian pkg build failure when frr is a submodule (#11)
Signed-off-by: nikos <[email protected]>
1 parent b4ece2f commit 5a35fd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/tarsource.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ onexit() {
133133
trap onexit EXIT
134134
tmpdir="`mktemp -d -t frrtar.XXXXXX`"
135135

136-
if test -d "$src/.git"; then
136+
if test -e "$src/.git"; then
137137
commit="`git -C \"$src\" rev-parse \"${commit:-HEAD}\"`"
138138

139139
if $dirty; then

0 commit comments

Comments
 (0)