File dir_.bazaar_verif.patch of Package wiithon

--- Makefile.orig	2010-01-01 23:31:46.292720192 -0300
+++ Makefile	2010-01-02 02:14:53.897664309 -0300
@@ -192,9 +192,20 @@
 	@echo "=================================================================="
 
 generate_changelog:
+	if [ ! -d ~/.bazaar/plugins ]; \
+	then \
+		TODELETE=~/.bazaar/plugins; \
+		if [ ! -d ~/.bazaar ]; \
+		then \
+		TODELETE=~/.bazaar ;\
+		fi; \
+		mkdir -p ~/.bazaar/plugins; \
+	else \
+		TODELETE=~/.bazaar/plugins/gnulog.py; \
+	fi
 	@ln -sf $(shell pwd)/recursos/bazaar-plugins/gnulog.py ~/.bazaar/plugins/gnulog.py
 	bzr log --log-format 'gnu' | sed -e "s/\(<.*@[^.]*\)>/\1\.fake>/g" > debian/changelog
-	@$(RM) ~/.bazaar/plugins/gnulog.py
+	@$(RM) -rf ${TODELETE}
 
 deb: generate_changelog
 	debuild -b -uc -us -tc --lintian-opts -Ivi
openSUSE Build Service is sponsored by