Update of /cvs/debian-openoffice/oo-deb/debian
In directory gluck:/tmp/cvs-serv8685

Modified Files:
      Tag: OPENOFFICE_ORG_1_1_1
        rules 
Log Message:
dpkg-source optimizes empty dirs away so that tests/ does not exist anymore in 
the diff. test for it's existence before trying to cd into it.

Index: rules
===================================================================
RCS file: /cvs/debian-openoffice/oo-deb/debian/rules,v
retrieving revision 1.182.4.11
retrieving revision 1.182.4.12
diff -u -d -r1.182.4.11 -r1.182.4.12
--- rules       13 Mar 2004 14:57:00 -0000      1.182.4.11
+++ rules       14 Mar 2004 02:31:25 -0000      1.182.4.12
@@ -326,8 +326,8 @@
        rm -f $(OOO_BUILD)/desktop/*.png $(OOO_BUILD)/www/*.png \
                $(OOO_BUILD)/www/images/*.png $(OOO_BUILD)/templates/*.s* \
                $(OOO_BUILD)/www/l10n/*.gif
-       cd $(OOO_BUILD)/test && \
-               find . -type f | xargs rm -f
+       if [ -d $(OOO_BUILD)/test ]; then cd $(OOO_BUILD)/test && \
+               find . -type f | xargs rm -f; fi
 
        cd $(SOURCE_TREE)/config_office && \
                rm -f config.cache config.log \

Reply via email to