diff --git a/[refs] b/[refs] index cad6cd268102..15cc25e50486 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 32197c7ffb06b1319850f8fdfa1a49d32a63b79b +refs/heads/master: eb8f844c0a41c4529a7d06b7801296eca9ae67aa diff --git a/trunk/scripts/tags.sh b/trunk/scripts/tags.sh index d52f7a01557c..1a0c44d7c4a7 100755 --- a/trunk/scripts/tags.sh +++ b/trunk/scripts/tags.sh @@ -89,7 +89,13 @@ all_defconfigs() docscope() { - (echo \-k; echo \-q; all_sources) > cscope.files + # always use absolute paths for cscope, as recommended by cscope + # upstream + case "$tree" in + /*) ;; + *) tree=$PWD/$tree ;; + esac + (cd /; echo \-k; echo \-q; all_sources) > cscope.files cscope -b -f cscope.out }