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/includes | |
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/includes')
-rw-r--r-- | core/includes/binutil.inc | 1 | ||||
-rw-r--r-- | core/includes/chroot.inc | 1 | ||||
-rw-r--r-- | core/includes/cleanup.inc | 1 | ||||
-rw-r--r-- | core/includes/downloader.inc | 1 | ||||
-rw-r--r-- | core/includes/helper/fileutil.inc | 1 | ||||
-rw-r--r-- | core/includes/keyvalueutil.inc | 1 | ||||
-rw-r--r-- | core/includes/paths.inc | 1 | ||||
-rw-r--r-- | core/includes/qt.inc | 1 |
8 files changed, 8 insertions, 0 deletions
diff --git a/core/includes/binutil.inc b/core/includes/binutil.inc index b9867a90..0ec98f37 100644 --- a/core/includes/binutil.inc +++ b/core/includes/binutil.inc @@ -1,3 +1,4 @@ +#!/bin/bash # # Common functions to copy binaries and their dependancies. # diff --git a/core/includes/chroot.inc b/core/includes/chroot.inc index b7f68f65..21134931 100644 --- a/core/includes/chroot.inc +++ b/core/includes/chroot.inc @@ -1,3 +1,4 @@ +#!/bin/bash # ----------------------------------------------------------------------------- # # Copyright (c) 2014 - OpenSLX GmbH diff --git a/core/includes/cleanup.inc b/core/includes/cleanup.inc index 9716c841..17e9446d 100644 --- a/core/includes/cleanup.inc +++ b/core/includes/cleanup.inc @@ -1,3 +1,4 @@ +#!/bin/bash # ----------------------------------------------------------------------------- # # Copyright (c) 2014 - OpenSLX GmbH diff --git a/core/includes/downloader.inc b/core/includes/downloader.inc index 7ec8d872..d4626325 100644 --- a/core/includes/downloader.inc +++ b/core/includes/downloader.inc @@ -1,3 +1,4 @@ +#!/bin/bash # helper functions for downloading files or packages # download a file. usage: diff --git a/core/includes/helper/fileutil.inc b/core/includes/helper/fileutil.inc index 9dc2c07b..e3d23652 100644 --- a/core/includes/helper/fileutil.inc +++ b/core/includes/helper/fileutil.inc @@ -1,3 +1,4 @@ +#!/bin/bash # # copy list of files using tar tarcopy () { diff --git a/core/includes/keyvalueutil.inc b/core/includes/keyvalueutil.inc index a0a89db7..cd1a0096 100644 --- a/core/includes/keyvalueutil.inc +++ b/core/includes/keyvalueutil.inc @@ -1,3 +1,4 @@ +#!/bin/bash # Helper file for managing key-value containing files # There are some specialized conveinience functions here first # that mostly just pass a predefined filename to the genric function diff --git a/core/includes/paths.inc b/core/includes/paths.inc index 928ca964..29016598 100644 --- a/core/includes/paths.inc +++ b/core/includes/paths.inc @@ -1,3 +1,4 @@ +#!/bin/bash # # This include tries to determine system paths needed by mltk-modules # The idea here is to have a central place to determine paths required diff --git a/core/includes/qt.inc b/core/includes/qt.inc index 2b13c1f3..9f563c9c 100644 --- a/core/includes/qt.inc +++ b/core/includes/qt.inc @@ -1,3 +1,4 @@ +#!/bin/bash activate_qt() { [ $# -eq 1 ] || perror "activate_qt() requires the version as only argument, $# given." local QT_VERSION="$1" |