aboutsummaryrefslogtreecommitdiff
path: root/sh/rc-functions.sh.in
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-02-28 11:08:49 +0000
committerRoy Marples <roy@marples.name>2008-02-28 11:08:49 +0000
commitf092045650faad778d25d000d80b3128664d2e2a (patch)
tree89188e92a4d01423ee59e33e5eaf5355fa14d103 /sh/rc-functions.sh.in
parentaabf3976db5ffb41f8f8bbd47f5015b4158e095a (diff)
Support the use of PREFIX and PKG_PREFIX.
Diffstat (limited to 'sh/rc-functions.sh.in')
-rw-r--r--sh/rc-functions.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/sh/rc-functions.sh.in b/sh/rc-functions.sh.in
index 2a57709c..74db71ef 100644
--- a/sh/rc-functions.sh.in
+++ b/sh/rc-functions.sh.in
@@ -75,6 +75,6 @@ get_bootparam()
# Add our sbin to $PATH
case "${PATH}" in
- /lib/rc/sbin|/lib/rc/sbin:*);;
- *) export PATH="/lib/rc/sbin:${PATH}";;
+ @PREFIX@/lib/rc/sbin|@PREFIX@/lib/rc/sbin:*);;
+ *) export PATH="@PREFIX@/lib/rc/sbin:${PATH}";;
esac