[PATCH] Only make $(libexec)/ssh when needed (1.2.pre15).

Niels Kristian Bech Jensen nkbj at image.dk
Thu Nov 25 18:39:55 EST 1999


Hi,
This patch ensures that $(libexecdir)/ssh is only made when needed (no
need to make empty directories):

--- openssh-1.2pre15/Makefile.in~	Thu Nov 25 03:40:22 1999
+++ openssh-1.2pre15/Makefile.in	Thu Nov 25 08:35:55 1999
@@ -83,9 +83,9 @@
 	ln -sf ssh $(bindir)/slogin
 	ln -sf ssh.1 $(mandir)/man1/slogin.1
 
-	$(INSTALL) -d $(libexecdir) ;
-	$(INSTALL) -d $(libexecdir)/ssh ;
-	if [ ! -z "@GNOME_ASKPASS@" ] ; then \
+	if [ -n "@GNOME_ASKPASS@" ] ; then \
+		$(INSTALL) -d $(libexecdir) ; \
+		$(INSTALL) -d $(libexecdir)/ssh ; \
 		$(INSTALL) -s @GNOME_ASKPASS@ ${ASKPASS_PROGRAM} ; \
 	fi
 

-- 
Niels Kristian Bech Jensen -- nkbj at image.dk -- http://www.image.dk/~nkbj/

----------->>  Stop software piracy --- use free software!  <<-----------






More information about the openssh-unix-dev mailing list