dtfile: use sh instead of ksh for find command
This commit is contained in:
@@ -2887,7 +2887,7 @@ findpopen(char *cmd, char *mode, int *childpid)
|
||||
(void) fcntl(childside, F_DUPFD, read_or_write);
|
||||
(void) close(childside); /* Save a file descriptor */
|
||||
}
|
||||
(void) execl(KORNSHELL, "ksh", "-c", cmd, (char *)0);
|
||||
(void) execl("/bin/sh", "sh", "-c", cmd, (char *)0);
|
||||
/* Need to process the error return */
|
||||
|
||||
DBGFORK(("%s: child exiting\n", pname));
|
||||
|
||||
@@ -13,8 +13,7 @@ dist_bin_SCRIPTS = dtfile_error dterror.ds
|
||||
|
||||
dtfile_CPPFLAGS = -I./dtcopy -DSHAPE -D_ILS_MACROS -DSUN_PERF \
|
||||
-DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
|
||||
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" \
|
||||
-DKORNSHELL=\"$(KSH)\"
|
||||
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\"
|
||||
|
||||
dtfile_LDADD = dtcopy/sharedFuncs.o \
|
||||
dtcopy/fsrtns.o \
|
||||
@@ -45,8 +44,7 @@ dtfile_SOURCES = ChangeDir.c ChangeDirP.c Command.c Common.c \
|
||||
# Mind the quoting here...
|
||||
SCRIPTFLAGS = -DSHAPE -D_ILS_MACROS -DSUN_PERF \
|
||||
-DCDE_INSTALLATION_TOP="$(CDE_INSTALLATION_TOP)" \
|
||||
-DCDE_CONFIGURATION_TOP="$(CDE_CONFIGURATION_TOP)" \
|
||||
-DKORNSHELL="$(KSH)"
|
||||
-DCDE_CONFIGURATION_TOP="$(CDE_CONFIGURATION_TOP)"
|
||||
|
||||
dtfile.config: dtfile.config.cpp
|
||||
$(RM) $@
|
||||
|
||||
Reference in New Issue
Block a user