Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
[linux-2.6-microblaze.git] / scripts / tags.sh
index 16d475b..01fab3d 100755 (executable)
@@ -95,10 +95,13 @@ all_sources()
 
 all_compiled_sources()
 {
-       realpath -es $([ -z "$KBUILD_ABS_SRCTREE" ] && echo --relative-to=.) \
-               include/generated/autoconf.h $(find $ignore -name "*.cmd" -exec \
-               grep -Poh '(?(?=^source_.* \K).*|(?=^  \K\S).*(?= \\))' {} \+ |
-               awk '!a[$0]++') | sort -u
+       {
+               echo include/generated/autoconf.h
+               find $ignore -name "*.cmd" -exec \
+                       grep -Poh '(?(?=^source_.* \K).*|(?=^  \K\S).*(?= \\))' {} \+ |
+               awk '!a[$0]++'
+       } | xargs realpath -es $([ -z "$KBUILD_ABS_SRCTREE" ] && echo --relative-to=.) |
+       sort -u
 }
 
 all_target_sources()