[Python-modules-commits] r18757 - in packages/python-peak.rules/trunk/debian (rules)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Wed Sep 28 16:41:01 UTC 2011


    Date: Wednesday, September 28, 2011 @ 16:41:00
  Author: eriol-guest
Revision: 18757

Use $(CURDIR) instead of PWD := $(shell pwd)

Modified:
  packages/python-peak.rules/trunk/debian/rules

Modified: packages/python-peak.rules/trunk/debian/rules
===================================================================
--- packages/python-peak.rules/trunk/debian/rules	2011-09-28 15:33:04 UTC (rev 18756)
+++ packages/python-peak.rules/trunk/debian/rules	2011-09-28 16:41:00 UTC (rev 18757)
@@ -3,7 +3,6 @@
 VERSION = $(shell dpkg-parsechangelog | grep ^Version | cut -d" " -f2 | sed 's,-.*,,')
 DEB_ROOT = $(abspath $(dir $(lastword $(MAKEFILE_LIST)))../)
 GOS_TMP_DIR = $(DEB_ROOT)/get-orig-source
-PWD := $(shell pwd)
 
 TAR_EXTRA_ARGS = --owner root --group root --mode a+rX
 
@@ -43,5 +42,5 @@
 	mkdir $(GOS_TMP_DIR)/$(PKG)-$(VERSION)
 	cd $(GOS_TMP_DIR); GZIP=--best tar -cz $(TAR_EXTRA_ARGS) -f $(PKG)_$(VERSION).orig.tar.gz $(PKG)-$(VERSION)
 	rmdir $(GOS_TMP_DIR)/$(PKG)-$(VERSION)
-	mv $(GOS_TMP_DIR)/$(PKG)_$(VERSION).orig* $(PWD)
+	mv $(GOS_TMP_DIR)/$(PKG)_$(VERSION).orig* $(CURDIR)
 	rm -Rf $(GOS_TMP_DIR)




More information about the Python-modules-commits mailing list