added editsysconf command in macosx.sh
This commit is contained in:
@@ -91,6 +91,15 @@ xgroup2)
|
||||
fi
|
||||
;;
|
||||
|
||||
xeditsysconf)
|
||||
sed 's/^GDBPATH/#GDBPATH/' $2 \
|
||||
| sed 's/^GREPPATH=\/bin\/grep/GREPPATH=\/usr\/bin\/grep/' \
|
||||
| sed 's/^PANICTRACE_GDB=[12]/PANICTRACE_GDB=0/' \
|
||||
| sed 's/^#OPTIONS=.*/&\
|
||||
OPTIONS=!use_darkgray/' \
|
||||
> $3
|
||||
;;
|
||||
|
||||
#% dscl localhost -read /Search/Groups/wheel
|
||||
# AppleMetaNodeLocation: /Local/Default
|
||||
# GeneratedUID: ABCDEFAB-CDEF-ABCD-EFAB-CDEF00000000
|
||||
|
||||
@@ -265,12 +265,7 @@ build_package_root:
|
||||
install -p doc/recover.6 $(PKGROOT_UG)/man/man6
|
||||
install -p doc/Guidebook $(PKGROOT_UG)/doc
|
||||
install -p dat/nhdat $(PKGROOT_UGLN)
|
||||
setnl=`echo 'nl="'; echo '"'`; eval "$$setnl"; \
|
||||
sed 's/^GDBPATH/#GDBPATH/' sys/unix/sysconf \
|
||||
| sed 's/^GREPPATH=\/bin\/grep/GREPPATH=\/usr\/bin\/grep/' \
|
||||
| sed 's/^PANICTRACE_GDB=[12]/PANICTRACE_GDB=0/' \
|
||||
| sed "s/^#OPTIONS=.*/&\\$${nl}OPTIONS=!use_darkgray/" \
|
||||
> $(PKGROOT_UGLN)/sysconf
|
||||
sys/unix/hints/macosx.sh editsysconf sys/unix/sysconf $(PKGROOT_UGLN)/sysconf
|
||||
cd dat; install -p $(DATNODLB) ../$(PKGROOT_UGLN)
|
||||
# XXX these files should be somewhere else for good Mac form
|
||||
touch $(PKGROOT_UGLN)/perm $(PKGROOT_UGLN)/record $(PKGROOT_UGLN)/logfile $(PKGROOT_UGLN)/xlogfile
|
||||
|
||||
Reference in New Issue
Block a user