diff packages/services/memalloc/common/current/cdl/memalloc.cdl @ 139:79d72068f491 ecos-sw-2000-11-24

Merge from eCos master repository on 2000-11-24-16:52:55-GMT
author jlarmour
date Fri, 24 Nov 2000 17:42:47 +0000
parents 289bf90c6a9b
children 450e4e1f1e80
line wrap: on
line diff
--- a/packages/services/memalloc/common/current/cdl/memalloc.cdl
+++ b/packages/services/memalloc/common/current/cdl/memalloc.cdl
@@ -231,9 +231,9 @@ cdl_package CYGPKG_MEMALLOC {
         # an absolute path.
         make -priority 50 {
             heaps.cxx : heapgeninc.tcl <PACKAGE>/src/heapgen.tcl
-            sh -c "cd $(REPOSITORY)/$(PACKAGE)/src ; sh heapgen.tcl $(PREFIX) `pwd`"
-            @cp heaps.hxx $(PREFIX)/include/pkgconf/heaps.hxx
-            @chmod u+w $(PREFIX)/include/pkgconf/heaps.hxx
+            sh -c "PWD=`pwd` ; cd $(REPOSITORY)/$(PACKAGE)/src ; sh heapgen.tcl \"$(PREFIX)\" \"$$PWD\""
+            @cp heaps.hxx "$(PREFIX)"/include/pkgconf/heaps.hxx
+            @chmod u+w "$(PREFIX)"/include/pkgconf/heaps.hxx
         }
 
         make_object {