Commit eb7b178c authored by Sam Hocevar's avatar Sam Hocevar

* ./toolbox: fixed a Makefile parsing bug.

parent 85581372
#! /bin/sh
## toolbox for the VLC media player
## $Id: toolbox,v 1.18 2003/03/18 02:21:47 ipkiss Exp $
## $Id: toolbox,v 1.19 2003/03/20 10:06:16 sam Exp $
##
## Authors: Samuel Hocevar <sam@zoy.org>
......@@ -38,7 +38,7 @@ getfiles()
{
awk 'BEGIN{a=0}{if(!a&&/^'"$1"'[^-_a-zA-Z0-9]*=/){a=1;print$0;next;}if(a){if(/^[a-zA-Z]/){exit;}print $0}}' < Makefile.am | \
tr '\\ ' '\n\n' | \
sed -ne 's/[^-$_a-zA-Z0-9][^-$_a-zA-Z0-9]*\([a-zA-Z]\)/\1/p'
sed -ne 's/[^-$()_a-zA-Z0-9][^-$()_a-zA-Z0-9]*\([a-zA-Z]\)/\1/p'
}
###
......
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