projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.8.13.44:
[sbcl.git]
/
make-config.sh
diff --git
a/make-config.sh
b/make-config.sh
index
7664551
..
3f58b71
100644
(file)
--- a/
make-config.sh
+++ b/
make-config.sh
@@
-18,9
+18,6
@@
echo //entering make-config.sh
echo //entering make-config.sh
-echo //checking that we are not root
-if [ `id -u` -eq 0 ] ; then echo 'Argh! we are (fake)root!'; exit 1; fi;
-
echo //ensuring the existence of output/ directory
if [ ! -d output ] ; then mkdir output; fi
echo //ensuring the existence of output/ directory
if [ ! -d output ] ; then mkdir output; fi
@@
-132,6
+129,10
@@
case `uname` in
sbcl_os="openbsd"
ln -s Config.$sbcl_arch-openbsd Config
;;
sbcl_os="openbsd"
ln -s Config.$sbcl_arch-openbsd Config
;;
+ NetBSD)
+ printf ' :netbsd' >> $ltf
+ ln -s Config.$sbcl_arch-netbsd Config
+ ;;
*)
echo unsupported BSD variant: `uname`
exit 1
*)
echo unsupported BSD variant: `uname`
exit 1
@@
-213,5
+214,9
@@
echo ')' >> $ltf
# Make a unique ID for this build (to discourage people from
# mismatching sbcl and *.core files).
# Make a unique ID for this build (to discourage people from
# mismatching sbcl and *.core files).
-echo '"'`hostname`-`whoami`-`date +%F-%H-%M-%S`'"' > output/build-id.tmp
+if [ `uname` = "SunOS" ] ; then
+ # use /usr/xpg4/bin/id instead of /usr/bin/id
+ PATH=/usr/xpg4/bin:$PATH
+fi
+echo '"'`hostname`-`id -un`-`date +%Y-%m-%d-%H-%M-%S`'"' > output/build-id.tmp