On Thu, Jul 14, 2016 at 09:52:20AM +0200, Igor Gnatenko wrote: > Good point, but how do we know if file is libtool wrapper and not real > shell-script? If you're happy with a heuristic, then they should be easy to identify from the comments at the very beginning of the file, which look like below. Anything with "libtool" and "temporary wrapper script" and "should never be moved out of the build directory" in the first few lines is a candidate for flagging up IMHO. #! /bin/sh # boot-benchmark - temporary wrapper script for .libs/boot-benchmark # Generated by libtool (GNU libtool) 2.4.6 # # The boot-benchmark program cannot be directly executed until all the libtool # libraries that it depends on are installed. # # This wrapper script should never be moved out of the build directory. # If it is, it will not operate correctly. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx