chown needs full path

This commit is contained in:
niklas 1998-07-27 00:19:39 +00:00
parent fcdb67ea73
commit 41625f0459

View File

@ -1,29 +1,28 @@
*** Makefile.in.bak Mon Jan 16 17:59:20 1995
--- Makefile.in Wed Jan 18 04:13:40 1995
***************
*** 20,26 ****
ETCSCREENRC = `sed < config.h -n -e '/define ETCSCREENRC/s/^.*"\([^"]*\)"/\1/p'`
CC = @CC@
- CFLAGS = -O
LDFLAGS =
LIBS = @LIBS@
--- 20,25 ----
***************
*** 79,85 ****
install: install_bin
cd doc ; $(MAKE) install
! -tic ${srcdir}/terminfo/screeninfo.src
# Better do this by hand. E.g. under RCS...
# cat ${srcdir}/terminfo/screencap >> /etc/termcap
@echo "termcap entry (${srcdir}/terminfo/screencap) should be installed manually."
--- 78,84 ----
install: install_bin
cd doc ; $(MAKE) install
! # -tic ${srcdir}/terminfo/screeninfo.src
# Better do this by hand. E.g. under RCS...
# cat ${srcdir}/terminfo/screencap >> /etc/termcap
@echo "termcap entry (${srcdir}/terminfo/screencap) should be installed manually."
--- Makefile.in.orig Mon Jun 23 23:05:42 1997
+++ Makefile.in Mon Jul 27 03:06:10 1998
@@ -20,7 +20,6 @@
ETCSCREENRC = `sed < config.h -n -e '/define ETCSCREENRC/s/^.*"\([^"]*\)"/\1/p'`
CC = @CC@
-CFLAGS = -O
LDFLAGS =
LIBS = @LIBS@
@@ -71,7 +70,7 @@
install_bin: screen
$(INSTALL_PROGRAM) screen $(bindir)/screen-$(VERSION)
- -chown root $(bindir)/screen-$(VERSION) && chmod 4755 $(bindir)/screen-$(VERSION)
+ -/usr/sbin/chown root $(bindir)/screen-$(VERSION) && chmod 4755 $(bindir)/screen-$(VERSION)
# This doesn't work if $(bindir)/screen is a symlink
-if [ -f $(bindir)/screen ] && [ ! -f $(bindir)/screen.old ]; then mv $(bindir)/screen $(bindir)/screen.old; fi
rm -f $(bindir)/screen
@@ -79,7 +78,7 @@
install: installdirs install_bin
cd doc ; $(MAKE) install
- -tic ${srcdir}/terminfo/screeninfo.src
+# -tic ${srcdir}/terminfo/screeninfo.src
# Better do this by hand. E.g. under RCS...
# cat ${srcdir}/terminfo/screencap >> /etc/termcap
@echo "termcap entry (${srcdir}/terminfo/screencap) should be installed manually."