diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-12-30 16:54:04 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-12-30 16:54:04 +0100 |
commit | cf468ad0fd5426c2625626eb1e8dac2c223210e7 (patch) | |
tree | 2f4041d57c1dc70311872880fc5cc39c1c387dd7 /sh/gendepends.sh.in | |
parent | 37a57b1a4004ab89424d8881d0b33b59709e375a (diff) | |
parent | 3470eda3f5cea437a6de132b1ead3f27effd3902 (diff) | |
download | openrc-master-embtk.tar.gz openrc-master-embtk.tar.bz2 openrc-master-embtk.tar.xz |
Merge branch 'master' into openrc-master-embtkopenrc-embtk-0.13openrc-master-embtk
Diffstat (limited to 'sh/gendepends.sh.in')
-rw-r--r-- | sh/gendepends.sh.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sh/gendepends.sh.in b/sh/gendepends.sh.in index 461c688..dfe7444 100644 --- a/sh/gendepends.sh.in +++ b/sh/gendepends.sh.in @@ -51,10 +51,12 @@ do for RC_SERVICE in *; do [ -x "$RC_SERVICE" -a -f "$RC_SERVICE" ] || continue - # Only generate dependencies for runscripts + # Only generate dependencies for OpenRC scripts read one two three <"$RC_SERVICE" [ "$one" = "#!@SBINDIR@/runscript" ] || \ + [ "$one" = "#!@SBINDIR@/openrc-run" ] || \ [ "$one" = "#!" -a "$two" = "@SBINDIR@/runscript" ] || \ + [ "$one" = "#!" -a "$two" = "@SBINDIR@/openrc-run" ] || \ continue unset one two three |