/bin/pwd vs pwd

DJ Delorie dj@delorie.com
Mon Apr 17 16:43:00 GMT 2000


Any reason not to do this?  My machine doesn't have pwd in /bin.

Index: Makefile.common
===================================================================
RCS file: /cvs/src/src/winsup/Makefile.common,v
retrieving revision 1.3
diff -p -2 -r1.3 Makefile.common
*** Makefile.common	2000/04/10 03:51:39	1.3
--- Makefile.common	2000/04/17 23:40:05
***************
*** 15,19 ****
  MALLOC_OBJ:=#/gotham/src/comp-tools/winsup/dlmalloc/malloc.o
  
! override srcdir:=${shell cd $(srcdir); /bin/pwd}
  ifneq (,${filter-out /%,$(srcdir)})
      updir:=$(srcdir)/..
--- 15,19 ----
  MALLOC_OBJ:=#/gotham/src/comp-tools/winsup/dlmalloc/malloc.o
  
! override srcdir:=${shell cd $(srcdir); pwd}
  ifneq (,${filter-out /%,$(srcdir)})
      updir:=$(srcdir)/..


More information about the Cygwin-developers mailing list