For --with-outpath include workdir generated files without UnpackedTar*

Change-Id: I07605c132432cb9454614368200e9c85695bea26
This commit is contained in:
Eike Rathke 2017-06-01 19:18:23 +02:00
parent 6e79d226f4
commit 9c32973e0e

View file

@ -9,9 +9,9 @@
# create ID file for the whole LibO tree. run it in toplevel dir
# TODO: should this include workdir headers?
if [ "$1" = "--with-outpath" ]; then
dirs="$(ls -d ./*/* | sed -e '/\(\/\(cscope\.\|tags\|ID\)\)\|^\.\/\(workdir\|instdir\)\//d')"
# Include workdir generated files but without workdir/UnpackedTarball workdir/UnpackedTarget
dirs="$(ls -d ./*/* | sed -e '/\(\/\(cscope\.\|tags\|ID\)\)\|^\.\/\(workdir\/UnpackedTar\|\(instdir\/\)\)/d')"
else
dirs="$(ls -d ./*/* | sed -e '/\(\/\(cscope\.\|tags\|ID\)\)\|^\.\/\(workdir\|instdir\)\//d')"
fi