[neon/qt/qtbase/Neon/testing] debian: dont trip over existing .git dirs

Harald Sitter null at kde.org
Wed Apr 21 14:24:19 BST 2021


Git commit 0f14219cd6fd14b4ae83fd844075cce0e60be356 by Harald Sitter.
Committed on 21/04/2021 at 13:24.
Pushed by sitter into branch 'Neon/testing'.

dont trip over existing .git dirs

configure is possibly invoked more than once

M  +1    -1    debian/rules

https://invent.kde.org/neon/qt/qtbase/commit/0f14219cd6fd14b4ae83fd844075cce0e60be356

diff --git a/debian/rules b/debian/rules
index f12bddb..a6bdbec 100755
--- a/debian/rules
+++ b/debian/rules
@@ -75,7 +75,7 @@ endif
 	dh $@ --with pkgkde_symbolshelper
 
 override_dh_auto_configure:
-	mkdir .git # hack to get syncqt to trigger. this isn't a functional tarball build
+	[ -e .git ] || mkdir .git # hack to get syncqt to trigger. this isn't a functional tarball build
 ifneq (,$(filter cross,$(DEB_BUILD_PROFILES)))
 	test "`dpkg-query -f '$${Version}' -W qt5-qmake-bin`" = "$(DEB_VERSION)"
 endif


More information about the Neon-commits mailing list