[SCM] findimagedupes branch, master, updated. debian/2.18-1-4-gb79bfa7

Manuel Prinz manuel at debian.org
Tue Jun 2 23:11:31 UTC 2009


The following commit has been merged in the master branch:
commit 2e0c37f246cc506696aa52aa6d23905396f3edb6
Author: Manuel Prinz <manuel at debian.org>
Date:   Wed Jun 3 00:40:34 2009 +0200

    Prevent debian/rules from modifying upstream's script

diff --git a/debian/rules b/debian/rules
index 07d0a82..7367e28 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,8 +13,9 @@ clean::
 	rm -fr ./$(pkg)_tmp ./tmp findimagedupes.1
 
 build/findimagedupes::
-	sed -i "s?/usr/local/lib/$(pkg)?/usr/lib/$(pkg)?g" $(pkg)
-	sed "s?/usr/lib/$(pkg)?./tmp?g" $(pkg) > $(pkg)_tmp
+	cp $(pkg) $(pkg)_tmp
+	sed -i "s?/usr/local/lib/$(pkg)?/usr/lib/$(pkg)?g" $(pkg)_tmp
+	sed -i "s?/usr/lib/$(pkg)?./tmp?g" $(pkg)_tmp
 	mkdir -p ./tmp
 	chmod 755 $(pkg)_tmp
 	./$(pkg)_tmp

-- 
findimagedupes



More information about the debian-science-commits mailing list