From de9c9b604aa109fc3430d4b500ba9a118bdf7757 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Mon, 24 Jun 1996 00:08:29 +0000 Subject: [PATCH] Use bindir git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@599 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/xnlock/Makefile.in | 2 +- appl/xnlock/xnlock.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/appl/xnlock/Makefile.in b/appl/xnlock/Makefile.in index 56c036bc0..2a2c5939d 100644 --- a/appl/xnlock/Makefile.in +++ b/appl/xnlock/Makefile.in @@ -8,7 +8,7 @@ XLIBS = @X_LIBS@ -lXt @X_PRE_LIBS@ -lX11 @X_EXTRA_LIBS@ CC = @CC@ RANLIB = @RANLIB@ -DEFS = @DEFS@ +DEFS = @DEFS@ -DBINDIR='"$(bindir)"' CFLAGS = $(XINCS) @CFLAGS@ LD_FLAGS = @LD_FLAGS@ LIBS = $(XLIBS) @LIBS@ diff --git a/appl/xnlock/xnlock.c b/appl/xnlock/xnlock.c index 389c4c0a1..f371f7853 100644 --- a/appl/xnlock/xnlock.c +++ b/appl/xnlock/xnlock.c @@ -250,7 +250,7 @@ zrefresh() case 0: /* Child */ execlp("zrefresh", "zrefresh", 0); - execl("/usr/athena/bin/zrefresh", "zrefresh", 0); + execl(BINDIR "/zrefresh", "zrefresh", 0); #if 0 fprintf(stderr, "Warning %s: Failed to exec zrefresh\n", ProgName); #endif