From b693af90556ac9b055ba5c6e589066c1e08b2146 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Thu, 26 Jan 2017 15:39:19 -0600 Subject: [PATCH] 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(-) rename scripts/{rc-sstat => rc-sstat.in} (99%) mode change 100755 => 100644 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 old mode 100755 new mode 100644 similarity index 99% rename from scripts/rc-sstat rename to scripts/rc-sstat.in index bcd0ae23..a204dbda --- 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