Doug Barton wrote: > On 05/24/2011 12:39, Helmut Schneider wrote: > > I need 'cd' in my Makefile. It seems that the variable ${CD} is not > > defined and people are using 'cd' instead. > > > > Is there a certain reason for that? > > Probably because there is no point in making a variable for it? :)
OK, seems I've been fooled: [helmut@BSDHelmut ~]$ which cd /usr/bin/cd [helmut@BSDHelmut ~]$ I too late looked at /usr/bin/cd a bit closer: [helmut@BSDHelmut ~]$ file /usr/bin/cd /usr/bin/cd: POSIX shell script text executable [helmut@BSDHelmut ~]$ cat /usr/bin/cd #!/bin/sh # $FreeBSD: src/usr.bin/alias/generic.sh,v 1.2.10.1.6.1 2010/12/21 17:09:25 kensmith Exp $ # This file is in the public domain. builtin ${0##*/} ${1+"$@"} [helmut@BSDHelmut ~]$ _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"