r38553 - /packages/code-aster/aster/trunk/debian/rules

apalazzi-guest at users.alioth.debian.org apalazzi-guest at users.alioth.debian.org
Mon Jun 6 18:51:06 UTC 2011


Author: apalazzi-guest
Date: Mon Jun  6 18:51:05 2011
New Revision: 38553

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=38553
Log:
Fixed rules file to set the values of variables in astout.export


Modified:
    packages/code-aster/aster/trunk/debian/rules

Modified: packages/code-aster/aster/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/aster/trunk/debian/rules?rev=38553&op=diff
==============================================================================
--- packages/code-aster/aster/trunk/debian/rules (original)
+++ packages/code-aster/aster/trunk/debian/rules Mon Jun  6 18:51:05 2011
@@ -29,14 +29,14 @@
 	mkdir -p $(DEB_DESTDIR)/$(ASTER_ROOT)/$(PTA_VERSION)/dtag
 	cp -r $(STA_VERSION)/* $(DEB_DESTDIR)/$(ASTER_ROOT)/$(PTA_VERSION)
 	# Export file replacements for running tests 
-	sed -i "s:?ASTER_ROOT?:$(ASTER_ROOT):" $(ASTOUT_EXPORT)
-	sed -i "s:?ASTER_VERSION?:$(STA_VERSION):" $(ASTOUT_EXPORT)
+	sed -i 's:?ASTER_ROOT?:$(ASTER_ROOT):' $(DEB_DESTDIR)/$(ASTER_ROOT)/$(ASTOUT_EXPORT)
+	sed -i 's:?ASTER_VERSION?:$(STA_VERSION):' $(DEB_DESTDIR)/$(ASTER_ROOT)/$(ASTOUT_EXPORT)
 	# Use the short test list without homard by default
-	sed -i "/liste_internet/ s/^/#/" $(ASTOUT_EXPORT)
-	sed -i "s:#\(.*liste_short.*\):#\1\n\1:" $(ASTOUT_EXPORT)
-	sed -i "/^F/ s:liste_short:&_without_homard:" $(ASTOUT_EXPORT)
+	sed -i '/liste_internet/ s/^/#/' $(DEB_DESTDIR)/$(ASTER_ROOT)/$(ASTOUT_EXPORT)
+	sed -i 's:#\(.*liste_short.*\):#\1\n\1:' $(DEB_DESTDIR)/$(ASTER_ROOT)/$(ASTOUT_EXPORT)
+	sed -i '/^F/ s:liste_short:&_without_homard:' $(DEB_DESTDIR)/$(ASTER_ROOT)/$(ASTOUT_EXPORT)
 	# Results will be in /tmp for writing permission
-	sed -i "/resu_test/ s:$(ASTER_ROOT)/$(STA_VERSION):/tmp:" $(ASTOUT_EXPORT)
+	sed -i '/resu_test/ s:$(ASTER_ROOT)/$(STA_VERSION):/tmp:' $(DEB_DESTDIR)/$(ASTER_ROOT)/$(ASTOUT_EXPORT)
 
 	# Remove extra license file
 	rm -f $(DEB_DESTDIR)$(ASTER_ROOT)/$(STA_VERSION)/LICENSE.TERMS




More information about the debian-science-commits mailing list