aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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