[SCM] findimagedupes branch, master, updated. debian/2.18-2-2-g7c1965d

Manuel Prinz manuel at debian.org
Mon Jun 8 15:32:29 UTC 2009


The following commit has been merged in the master branch:
commit 582932cf91c13d9b0fe3837d6b6ad192d5bb4b64
Author: Manuel Prinz <manuel at debian.org>
Date:   Mon Jun 8 16:42:54 2009 +0200

    Revert "Prevent debian/rules from modifying upstream's script"
    
    This reverts commit 2e0c37f246cc506696aa52aa6d23905396f3edb6.

diff --git a/debian/rules b/debian/rules
index 8f9af6b..ea6de38 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,9 +13,8 @@ clean::
 	rm -fr ./$(pkg)_tmp ./tmp findimagedupes.1
 
 build/findimagedupes::
-	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
+	sed -i "s?/usr/local/lib/$(pkg)?/usr/lib/$(pkg)?g" $(pkg)
+	sed "s?/usr/lib/$(pkg)?./tmp?g" $(pkg) > $(pkg)_tmp
 	mkdir -p ./tmp
 	chmod 755 $(pkg)_tmp
 	./$(pkg)_tmp

-- 
findimagedupes



More information about the debian-science-commits mailing list