commit:     e2e652e469efa5f3ebcd69828ff16d8f5ad3f1b8
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Mon Jan  9 02:42:26 2017 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Jan  9 02:42:26 2017 +0000
URL:        https://gitweb.gentoo.org/proj/openrc.git/commit/?id=e2e652e4

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

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

diff --git a/scripts/Makefile b/scripts/Makefile
index 9a66c65..f4e3c68 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -6,7 +6,6 @@ BIN=    on_ac_power
 INSTALLAFTER = _installafter
 
 ifeq (${OS},Linux)
-SRCS+= rc-sstat.in
 BIN+=  rc-sstat
 endif
 

diff --git a/scripts/rc-sstat.in b/scripts/rc-sstat
old mode 100644
new mode 100755
similarity index 99%
rename from scripts/rc-sstat.in
rename to scripts/rc-sstat
index a204dbd..bcd0ae2
--- a/scripts/rc-sstat.in
+++ b/scripts/rc-sstat
@@ -1,4 +1,4 @@
-#!@SHELL@
+#!/bin/sh
 # 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