summaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-05-05 16:39:59 +0100
committerRoy Marples <roy@marples.name>2009-05-05 16:39:59 +0100
commit7c81f74b60b9d15ed472f1ca63cab0a105a84c08 (patch)
treead4ed2dbd8ce8d959a9d7d09342c5f41f2938984 /sh
parentd441bf15854b585a0e53019f12f581ddb90dee55 (diff)
downloadopenrc-7c81f74b60b9d15ed472f1ca63cab0a105a84c08.tar.gz
openrc-7c81f74b60b9d15ed472f1ca63cab0a105a84c08.tar.bz2
openrc-7c81f74b60b9d15ed472f1ca63cab0a105a84c08.tar.xz
Fix compile on NetBSD
Diffstat (limited to 'sh')
-rw-r--r--sh/functions.sh.in5
1 files changed, 0 insertions, 5 deletions
diff --git a/sh/functions.sh.in b/sh/functions.sh.in
index 32fd92a..3f4a15a 100644
--- a/sh/functions.sh.in
+++ b/sh/functions.sh.in
@@ -65,11 +65,6 @@ if [ -n "$ZSH_VERSION" ]; then
setopt NO_GLOB_SUBST
fi
-# Use a special shell feature to save forking
-if [ -n "$BASH_VERSION" -o "$ZSH_VERSION" ]; then
- shell_var() { LC_ALL=C echo "${@//[![:word:]]/_}"; }
-fi
-
# Make a sane PATH
_PREFIX=@PREFIX@
_PKG_PREFIX=@PKG_PREFIX@