diff options
author | Eike Rathke <erack@redhat.com> | 2017-06-01 18:44:17 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-06-01 18:44:41 +0200 |
commit | 090e33dfece35b9f2ff7248b9ef947317392bab9 (patch) | |
tree | 189638994d3cd4b62de529780a5c9c8a73a6ab54 /solenv | |
parent | e4f2aab11721cc6842c2c821ff9dacebc6095a56 (diff) |
Fix 'make id' further to not include workdir and instdir again
as ls output is now prefixed with ./ since
commit 027d661ef7e2490f1182d3e5003ae4da4135e0ca
Date: Fri May 19 18:03:04 2017 +0300
Change-Id: Ifd2b6405cb4670a7ae4e21228d29fae5b7408112
Diffstat (limited to 'solenv')
-rwxr-xr-x | solenv/bin/create-ids | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/solenv/bin/create-ids b/solenv/bin/create-ids index de1e79155c87..702c951eb413 100755 --- a/solenv/bin/create-ids +++ b/solenv/bin/create-ids @@ -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 |