Kaydet (Commit) 090e33df authored tarafından Eike Rathke's avatar Eike Rathke

Fix 'make id' further to not include workdir and instdir again

as ls output is now prefixed with ./ since

    commit 027d661e
    Date:   Fri May 19 18:03:04 2017 +0300

Change-Id: Ifd2b6405cb4670a7ae4e21228d29fae5b7408112
üst e4f2aab1
......@@ -11,8 +11,8 @@
# TODO: should this include workdir headers?
if [ "$1" = "--with-outpath" ]; then
dirs="$(ls -d ./*/* | sed -e '/\(\/\(cscope\.\|tags\|ID\)\)\|^\(clone\|workdir\|instdir\)\//d')"
dirs="$(ls -d ./*/* | sed -e '/\(\/\(cscope\.\|tags\|ID\)\)\|^\.\/\(clone\|workdir\|instdir\)\//d')"
else
dirs="$(ls -d ./*/* | sed -e '/\(\/\(cscope\.\|tags\|ID\)\)\|^\(clone\|workdir\|instdir\)\//d')"
dirs="$(ls -d ./*/* | sed -e '/\(\/\(cscope\.\|tags\|ID\)\)\|^\.\/\(clone\|workdir\|instdir\)\//d')"
fi
mkid --lang-map="$(dirname "$0")"/id-lang.map --include='C C++ asm perl java make' --statistics $dirs
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment