From 41625f04599ac276a15c9aad6c310dcd9516447d Mon Sep 17 00:00:00 2001 From: niklas Date: Mon, 27 Jul 1998 00:19:39 +0000 Subject: [PATCH] chown needs full path --- misc/screen/patches/patch-aa | 57 ++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 29 deletions(-) diff --git a/misc/screen/patches/patch-aa b/misc/screen/patches/patch-aa index b28623063f7..202758b4f12 100644 --- a/misc/screen/patches/patch-aa +++ b/misc/screen/patches/patch-aa @@ -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."