diff options
author | Simon Rettberg | 2017-02-28 22:28:55 +0100 |
---|---|---|
committer | Simon Rettberg | 2017-02-28 22:28:55 +0100 |
commit | c79dec3ba517967c09ef398b20d577271774df19 (patch) | |
tree | 163608e6b443aff1d1380d8308589c9c9e9a6952 /core/modules/cron | |
parent | [beamergui] FFS, use brain! (name binary properly, include in target) (diff) | |
download | mltk-c79dec3ba517967c09ef398b20d577271774df19.tar.gz mltk-c79dec3ba517967c09ef398b20d577271774df19.tar.xz mltk-c79dec3ba517967c09ef398b20d577271774df19.zip |
Add bash shebangs to all our includes:
github misidentifies lots of includes in its code stats and
syntax highlighting. Try to make it a nicer place by giving
it a hint via that shebang. It's actually useless in files
that are being sourced, but it doesn't hurt either.
Diffstat (limited to 'core/modules/cron')
-rw-r--r-- | core/modules/cron/module.build | 1 | ||||
-rw-r--r-- | core/modules/cron/module.conf | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/core/modules/cron/module.build b/core/modules/cron/module.build index 1f31ac21..6a467d4e 100644 --- a/core/modules/cron/module.build +++ b/core/modules/cron/module.build @@ -1,3 +1,4 @@ +#!/bin/bash fetch_source() { [ -d "${MODULE_WORK_DIR}/src/.git" ] && return 0 rm -rf -- "${MODULE_WORK_DIR}/src" diff --git a/core/modules/cron/module.conf b/core/modules/cron/module.conf index 6f07729f..c42ba591 100644 --- a/core/modules/cron/module.conf +++ b/core/modules/cron/module.conf @@ -1,3 +1,4 @@ +#!/bin/bash REQUIRED_GIT="http://git.fedorahosted.org/git/cronie.git" REQUIRED_COMMIT="c219d7cb9d4887f685ac4ff1e9439b0d8aa39ef6" REQUIRED_BINARIES=" |