[Gnucash-changes] r12277 - gnucash/trunk - Improve glade-fixup
script so that it can be used in subdirectories, too
Christian Stimming
cstim at cvs.gnucash.org
Fri Jan 6 17:10:51 EST 2006
Author: cstim
Date: 2006-01-06 17:10:48 -0500 (Fri, 06 Jan 2006)
New Revision: 12277
Trac: http://svn.gnucash.org/trac/changeset/12277
Modified:
gnucash/trunk/glade-fixup
Log:
Improve glade-fixup script so that it can be used in subdirectories, too
Modified: gnucash/trunk/glade-fixup
===================================================================
--- gnucash/trunk/glade-fixup 2006-01-06 22:09:47 UTC (rev 12276)
+++ gnucash/trunk/glade-fixup 2006-01-06 22:10:48 UTC (rev 12277)
@@ -8,7 +8,13 @@
# 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' \
-e '/name="ellipsize"/d' \
-e '/name="width_chars"/d' \
More information about the gnucash-changes
mailing list