projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag 'FreeBSD-release/1.0'.
[unix-history]
/
bin
/
sh
/
mkbuiltins
diff --git
a/bin/sh/mkbuiltins
b/bin/sh/mkbuiltins
index
4192de1
..
42d72b7
100644
(file)
--- a/
bin/sh/mkbuiltins
+++ b/
bin/sh/mkbuiltins
@@
-35,13
+35,16
@@
# SUCH DAMAGE.
#
# @(#)mkbuiltins 5.2 (Berkeley) 3/8/91
# SUCH DAMAGE.
#
# @(#)mkbuiltins 5.2 (Berkeley) 3/8/91
+#
+# /b/source/CVS/src/bin/sh/mkbuiltins,v 1.4 1993/04/18 17:37:21 mycroft Exp
temp=/tmp/ka$$
havejobs=0
if grep '^#define JOBS[ ]*1' shell.h > /dev/null
then havejobs=1
fi
temp=/tmp/ka$$
havejobs=0
if grep '^#define JOBS[ ]*1' shell.h > /dev/null
then havejobs=1
fi
-exec > obj/builtins.c
+if [ -d obj ]; then objdir=obj; else objdir=.; fi
+exec > ${objdir}/builtins.c
cat <<\!
/*
* This file was generated by the mkbuiltins program.
cat <<\!
/*
* This file was generated by the mkbuiltins program.
@@
-66,7
+69,7
@@
awk '{ for (i = 2 ; i <= NF ; i++) {
echo ' NULL, 0
};'
echo ' NULL, 0
};'
-exec >
obj
/builtins.h
+exec >
${objdir}
/builtins.h
cat <<\!
/*
* This file was generated by the mkbuiltins program.
cat <<\!
/*
* This file was generated by the mkbuiltins program.