This patch removes duplicate cshell code

Thank you for your time,
-Chase
From b15f0c1d75ab3d8f1eb4c6f3be7688a0697468b8 Mon Sep 17 00:00:00 2001
From: chase <ch...@localhost.com>
Date: Sun, 10 Jun 2018 11:45:34 -0500
Subject: [PATCH 2/2] env.csh: remove duplicate cshell code

---
 cde/programs/dtdocbook/README          |  1 -
 cde/programs/dtdocbook/doc2sdl/env.csh | 30 --------------------------
 cde/programs/dtdocbook/doc2sdl/env.sh  |  2 +-
 3 files changed, 1 insertion(+), 32 deletions(-)
 delete mode 100644 cde/programs/dtdocbook/doc2sdl/env.csh

diff --git a/cde/programs/dtdocbook/README b/cde/programs/dtdocbook/README
index 29908188..f38226fd 100644
--- a/cde/programs/dtdocbook/README
+++ b/cde/programs/dtdocbook/README
@@ -12,7 +12,6 @@ The directories here are:
 	docbook.tss  - base SDL style sheet (augmented by docbook.tcl)
 	dtdocbook    - the driver script for the dtdocbook passes
        *catalog.sh   - a script to build symbolic links to PUBLIC ids
-       *env.csh      - csh code to be sourced to set environment vars
        *env.sh       - sh/ksh code to be sourced to set environment vars
 
        [The files with an asterisk are to be modified to customize the
diff --git a/cde/programs/dtdocbook/doc2sdl/env.csh b/cde/programs/dtdocbook/doc2sdl/env.csh
deleted file mode 100644
index 92142885..00000000
--- a/cde/programs/dtdocbook/doc2sdl/env.csh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/csh
-# This file is to be "sourced" into your current shell (i.e., invoked
-# as "source env.csh").  It's purpose is to set up environment variables
-# to point to the install locations of the pieces of the dtdocbook
-# program.
-
-# If all the things you need are based on a common path, simply
-# setting PATH_TOP to that path will make the necessary
-# customization.  Otherwise, the path to each directory will have to
-# be edited individually.
-
-set PATH_TOP=/projects/help/sgml/OSF/tpt/DtDocBook
-
-# the dtdocbook program and its constituent executable parts
-setenv PATH ${PATH}:${PATH_TOP}/BinStuff
-
-# the dtdocbook style sheet and character maps
-setenv TPT_LIB ${PATH_TOP}/LibStuff:${PATH_TOP}/SgmlStuff:${PATH_TOP}/BinStuff
-
-# the DocBook SGML declaration
-setenv SGML_DIR ${PATH_TOP}/SgmlStuff
-
-# the icons for note/caution/warning (tip/important)
-setenv ICON_DIR ${PATH_TOP}/Icons
-
-# the catalog directory for finding PUBLIC entities
-# you will want to edit and run the catalog.sh or catalog.csh program
-# in the Catalog directory to build the desired symbolic links to your
-# actual entities
-setenv SGML_PATH ${PATH_TOP}/Catalog/%P
diff --git a/cde/programs/dtdocbook/doc2sdl/env.sh b/cde/programs/dtdocbook/doc2sdl/env.sh
index 53117bad..3c09b0c4 100644
--- a/cde/programs/dtdocbook/doc2sdl/env.sh
+++ b/cde/programs/dtdocbook/doc2sdl/env.sh
@@ -1,4 +1,4 @@
-#!/bin/ksh
+#!/bin/sh
 # $XConsortium: env.sh /main/3 1996/06/19 17:12:59 drk $
 # This file is to be "sourced" into your current shell (i.e., invoked
 # as ". env.sh").  It's purpose is to set up environment variables to
-- 
2.17.1

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to