aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/perf/util/PERF-VERSION-GEN2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/PERF-VERSION-GEN b/tools/perf/util/PERF-VERSION-GEN
index 49ece7921914..1b32e8c0253f 100755
--- a/tools/perf/util/PERF-VERSION-GEN
+++ b/tools/perf/util/PERF-VERSION-GEN
@@ -15,7 +15,7 @@ LF='
15if test -f version 15if test -f version
16then 16then
17 VN=$(cat version) || VN="$DEF_VER" 17 VN=$(cat version) || VN="$DEF_VER"
18elif test -d .git -o -f .git && 18elif test -d ../../.git -o -f ../../.git &&
19 VN=$(git describe --abbrev=4 HEAD 2>/dev/null) && 19 VN=$(git describe --abbrev=4 HEAD 2>/dev/null) &&
20 case "$VN" in 20 case "$VN" in
21 *$LF*) (exit 1) ;; 21 *$LF*) (exit 1) ;;