aboutsummaryrefslogtreecommitdiff
path: root/bin/sh/mkbuiltins
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1996-06-24 04:26:21 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1996-06-24 04:26:21 +0000
commitcd9a2f5c280b40222d21ca68b5b0962ff712d6cf (patch)
treedc80da53186aab7c56424c2574b0cd7928930721 /bin/sh/mkbuiltins
parent2388d5d1cef849c6482878f223517c38456feecf (diff)
downloadsrc-cd9a2f5c280b40222d21ca68b5b0962ff712d6cf.tar.gz
src-cd9a2f5c280b40222d21ca68b5b0962ff712d6cf.zip
Notes
Diffstat (limited to 'bin/sh/mkbuiltins')
-rwxr-xr-xbin/sh/mkbuiltins10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/sh/mkbuiltins b/bin/sh/mkbuiltins
index e7f0d8dbbdf2..104ded646449 100755
--- a/bin/sh/mkbuiltins
+++ b/bin/sh/mkbuiltins
@@ -35,15 +35,15 @@
# SUCH DAMAGE.
#
# @(#)mkbuiltins 8.1 (Berkeley) 5/31/93
-# $Id: mkbuiltins,v 1.2 1994/09/24 02:57:53 davidg Exp $
+# $Id: mkbuiltins,v 1.3 1995/03/30 19:45:20 phk Exp $
temp=/tmp/ka$$
havejobs=0
if grep '^#define JOBS[ ]*1' shell.h > /dev/null
then havejobs=1
fi
-if [ -d obj ] ; then
- exec > obj/builtins.c
+if [ -d ${OBJDIR} ] ; then
+ exec > ${OBJDIR}/builtins.c
else
exec > builtins.c
fi
@@ -71,8 +71,8 @@ awk '{ for (i = 2 ; i <= NF ; i++) {
echo ' NULL, 0
};'
-if [ -d obj ] ; then
- exec > obj/builtins.h
+if [ -d ${OBJDIR} ] ; then
+ exec > ${OBJDIR}/builtins.h
else
exec > builtins.h
fi