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