From af2749ada5245351598af2e59a8b8e682e7794de Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 9 Aug 2016 11:09:48 +1200 Subject: Rename ksh.sh profile.d subscript to env.sh To accommodate the possibility of other shells needing to set it --- sh/profile.d/env.sh | 5 +++++ sh/profile.d/ksh.sh | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 sh/profile.d/env.sh delete mode 100644 sh/profile.d/ksh.sh (limited to 'sh') diff --git a/sh/profile.d/env.sh b/sh/profile.d/env.sh new file mode 100644 index 00000000..541da0d6 --- /dev/null +++ b/sh/profile.d/env.sh @@ -0,0 +1,5 @@ +# If we're running some kind of ksh, export ENV to find ~/.kshrc +if [ -n "$KSH_VERSION" ] ; then + ENV=$HOME/.kshrc + export ENV +fi diff --git a/sh/profile.d/ksh.sh b/sh/profile.d/ksh.sh deleted file mode 100644 index 541da0d6..00000000 --- a/sh/profile.d/ksh.sh +++ /dev/null @@ -1,5 +0,0 @@ -# If we're running some kind of ksh, export ENV to find ~/.kshrc -if [ -n "$KSH_VERSION" ] ; then - ENV=$HOME/.kshrc - export ENV -fi -- cgit v1.2.3