commit:     b693af90556ac9b055ba5c6e589066c1e08b2146
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Thu Jan 26 21:39:19 2017 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Jan 26 21:39:19 2017 +0000
URL:        https://gitweb.gentoo.org/proj/openrc.git/commit/?id=b693af90

Revert "scripts: do not substitute for @SHELL@ in rc-sstat"

This reverts commit e2e652e469efa5f3ebcd69828ff16d8f5ad3f1b8.

 scripts/Makefile                  | 1 +
 scripts/{rc-sstat => rc-sstat.in} | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/Makefile b/scripts/Makefile
index f4e3c68..9a66c65 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
old mode 100755
new mode 100644
similarity index 99%
rename from scripts/rc-sstat
rename to scripts/rc-sstat.in
index bcd0ae2..a204dbd
--- 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

Reply via email to