Improve glade-fixup script so that it can be used in subdirectories, too

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12277 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming
2006-01-06 22:10:48 +00:00
parent cc5f9edd57
commit 8b487afd7b

View File

@@ -8,7 +8,13 @@
# committing changed glade files. # committing changed glade files.
# #
find src -name \*.glade | xargs \ if test -d src ; then
SEARCHDIRS=src
else
SEARCHDIRS=.
fi
find ${SEARCHDIRS} -name \*.glade | xargs \
sed -i -e '/name="focus_on_map"/d' \ sed -i -e '/name="focus_on_map"/d' \
-e '/name="ellipsize"/d' \ -e '/name="ellipsize"/d' \
-e '/name="width_chars"/d' \ -e '/name="width_chars"/d' \