aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2017-01-26 15:39:19 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2017-01-26 15:39:19 -0600
commitb693af90556ac9b055ba5c6e589066c1e08b2146 (patch)
treebe165cdee0ab7386134c77afb560c8febbd6c610
parent6dcb6929869c2f81c1f8d0930191f74fc6dfaa3e (diff)
Revert "scripts: do not substitute for @SHELL@ in rc-sstat"
This reverts commit e2e652e469efa5f3ebcd69828ff16d8f5ad3f1b8.
-rw-r--r--scripts/Makefile1
-rw-r--r--[-rwxr-xr-x]scripts/rc-sstat.in (renamed from scripts/rc-sstat)2
2 files changed, 2 insertions, 1 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
index f4e3c68e..9a66c65d 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -6,6 +6,7 @@ BIN= on_ac_power
INSTALLAFTER = _installafter
ifeq (${OS},Linux)
+SRCS+= rc-sstat.in
BIN+= rc-sstat
endif
diff --git a/scripts/rc-sstat b/scripts/rc-sstat.in
index bcd0ae23..a204dbda 100755..100644
--- a/scripts/rc-sstat
+++ b/scripts/rc-sstat.in
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!@SHELL@
# Copyright (c) 2015 The OpenRC Authors.
# See the Authors file at the top-level directory of this distribution and
# https://github.com/OpenRC/openrc/blob/master/AUTHORS