1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

Introduce DTKORNSHELL, analogous to KORNSHELL.

DTKORNSHELL is used to specify the install location of dtksh on your system,
preventing hardcoding of /usr/dt/bin/dtksh in Shebang lines and such.
This commit is contained in:
Pascal Stumpf 2012-11-22 15:49:51 +01:00 committed by Jon Trulson
parent b49a4ffc94
commit 943aaadf86
7 changed files with 14 additions and 6 deletions

View file

@ -183,6 +183,9 @@ XCOMM the platform-specific parameters - edit site.def to change
#ifndef KornShell
#define KornShell /bin/ksh
#endif
#ifndef DtKornShell
#define DtKornShell /usr/dt/bin/dtksh
#endif
#ifndef ConstructMFLAGS
#if SystemV
#define ConstructMFLAGS YES /* build MFLAGS from MAKEFLAGS */
@ -896,6 +899,7 @@ XCOMM the platform-specific parameters - edit site.def to change
PATHSEP = PathSeparator
SHELL = BourneShell
KORNSHELL = KornShell
DTKORNSHELL = DtKornShell
TOP = TOPDIR
CURRENT_DIR = CURDIR

View file

@ -1028,6 +1028,10 @@ install:: fonts.alias @@\
#define KornShell /usr/local/bin/ksh93
#endif
#ifndef DtKornShell
#define DtKornShell /usr/local/dt/bin/dtksh
#endif
#define AvoidNullMakeCommand YES
/* This must come last */

View file

@ -2,7 +2,7 @@ XCOMM $XConsortium: Imakefile /main/6 1996/04/21 19:50:24 drk $
CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
-DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
-DKORNSHELL=$(KORNSHELL)
-DKORNSHELL=$(KORNSHELL) -DDTKORNSHELL=$(DTKORNSHELL)
#if defined (SunArchitecture)
LOCAL_CPP_DEFINES = $(CPP_DEFINES) -D__sun

View file

@ -1,4 +1,4 @@
XCOMM!/usr/dt/bin/dtksh
XCOMM! DTKORNSHELL
XCOMM $TOG: dtlp.src /main/17 1998/07/31 17:03:31 mgreess $
XCOMM
XCOMM (c) Copyright 1996 Digital Equipment Corporation.

View file

@ -2,7 +2,7 @@ XCOMM $XConsortium: Imakefile /main/6 1996/04/21 19:52:31 drk $
CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
-DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
-DKORNSHELL=$(KORNSHELL)
-DKORNSHELL=$(KORNSHELL) -DDTKORNSHELL=$(DTKORNSHELL)
#if defined (SunArchitecture)
LOCAL_CPP_DEFINES = $(CPP_DEFINES) -D__sun

View file

@ -135,13 +135,13 @@ DATA_CRITERIA DTKSH_SCRIPT2
{
DATA_ATTRIBUTES_NAME DTKSH_SCRIPT
MODE f&x
CONTENT 0 string #!/usr/dt/bin/dtksh
CONTENT 0 string #!DTKORNSHELL
}
DATA_CRITERIA DTKSH_SCRIPT3
{
DATA_ATTRIBUTES_NAME DTKSH_SCRIPT
MODE f&x
CONTENT 0 string #! /usr/dt/bin/dtksh
CONTENT 0 string #! DTKORNSHELL
}
ACTION Run
{

View file

@ -1,4 +1,4 @@
XCOMM! /usr/dt/bin/dtksh
XCOMM! DTKORNSHELL
XCOMM $XConsortium: error.ds.src /main/3 1996/04/23 17:35:47 drk $
XCOMM #####################################################################
XCOMM