From c79dec3ba517967c09ef398b20d577271774df19 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 28 Feb 2017 22:28:55 +0100 Subject: 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. --- .../vmchooser/plugins/vmware/includes/create_vmhome_preferences_file.inc | 1 + .../vmchooser/plugins/vmware/includes/determine_hardware_limitations.inc | 1 + .../data/opt/openslx/vmchooser/plugins/vmware/includes/init_core.inc | 1 + .../opt/openslx/vmchooser/plugins/vmware/includes/log_config_summary.inc | 1 + .../opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc | 1 + core/modules/vmware/module.build | 1 + core/modules/vmware/module.conf | 1 + core/modules/vmware/module.conf.ubuntu | 1 + 8 files changed, 8 insertions(+) (limited to 'core/modules/vmware') diff --git a/core/modules/vmware/data/opt/openslx/vmchooser/plugins/vmware/includes/create_vmhome_preferences_file.inc b/core/modules/vmware/data/opt/openslx/vmchooser/plugins/vmware/includes/create_vmhome_preferences_file.inc index ed76490b..2e1ed1c4 100644 --- a/core/modules/vmware/data/opt/openslx/vmchooser/plugins/vmware/includes/create_vmhome_preferences_file.inc +++ b/core/modules/vmware/data/opt/openslx/vmchooser/plugins/vmware/includes/create_vmhome_preferences_file.inc @@ -1,3 +1,4 @@ +#!/bin/bash ########################################### # Include: Create VMware preferences file # ########################################### diff --git a/core/modules/vmware/data/opt/openslx/vmchooser/plugins/vmware/includes/determine_hardware_limitations.inc b/core/modules/vmware/data/opt/openslx/vmchooser/plugins/vmware/includes/determine_hardware_limitations.inc index f5fdf669..63a20822 100644 --- a/core/modules/vmware/data/opt/openslx/vmchooser/plugins/vmware/includes/determine_hardware_limitations.inc +++ b/core/modules/vmware/data/opt/openslx/vmchooser/plugins/vmware/includes/determine_hardware_limitations.inc @@ -1,3 +1,4 @@ +#!/bin/bash ########################################################################## # Include: Determine limitations caused by hardware version and guest os # ########################################################################## diff --git a/core/modules/vmware/data/opt/openslx/vmchooser/plugins/vmware/includes/init_core.inc b/core/modules/vmware/data/opt/openslx/vmchooser/plugins/vmware/includes/init_core.inc index 63318589..9155c9ea 100644 --- a/core/modules/vmware/data/opt/openslx/vmchooser/plugins/vmware/includes/init_core.inc +++ b/core/modules/vmware/data/opt/openslx/vmchooser/plugins/vmware/includes/init_core.inc @@ -1,3 +1,4 @@ +#!/bin/bash ####################################################################### # Include: Declaration of core functions and variables of this plugin # ####################################################################### diff --git a/core/modules/vmware/data/opt/openslx/vmchooser/plugins/vmware/includes/log_config_summary.inc b/core/modules/vmware/data/opt/openslx/vmchooser/plugins/vmware/includes/log_config_summary.inc index a33a8bc6..0c20cbcc 100644 --- a/core/modules/vmware/data/opt/openslx/vmchooser/plugins/vmware/includes/log_config_summary.inc +++ b/core/modules/vmware/data/opt/openslx/vmchooser/plugins/vmware/includes/log_config_summary.inc @@ -1,3 +1,4 @@ +#!/bin/bash ################################################## # Include: Print vm config summary into log file # ################################################## diff --git a/core/modules/vmware/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc b/core/modules/vmware/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc index 0a935e14..247efd03 100644 --- a/core/modules/vmware/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc +++ b/core/modules/vmware/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc @@ -1,3 +1,4 @@ +#!/bin/bash ################################################ # Include: Create final VMX configuration file # ################################################ diff --git a/core/modules/vmware/module.build b/core/modules/vmware/module.build index f5009fea..3db75f73 100644 --- a/core/modules/vmware/module.build +++ b/core/modules/vmware/module.build @@ -1,3 +1,4 @@ +#!/bin/bash fetch_source() { [ -d "${MODULE_WORK_DIR}/src" ] && \ { rm -r "${MODULE_WORK_DIR}/src" || perror "Could not delete old src dir."; } diff --git a/core/modules/vmware/module.conf b/core/modules/vmware/module.conf index 50fc0d3d..904e94b8 100644 --- a/core/modules/vmware/module.conf +++ b/core/modules/vmware/module.conf @@ -1,3 +1,4 @@ +#!/bin/bash REQUIRED_DOWNLOAD_BASE="http://softwareupdate.vmware.com/cds/vmw-desktop/ws/12.5.2/4638234/linux/core/" REQUIRED_TYPE="workstation" REQUIRED_MODULES="kernel" diff --git a/core/modules/vmware/module.conf.ubuntu b/core/modules/vmware/module.conf.ubuntu index c75ee906..09b01ee9 100644 --- a/core/modules/vmware/module.conf.ubuntu +++ b/core/modules/vmware/module.conf.ubuntu @@ -1,3 +1,4 @@ +#!/bin/bash REQUIRED_VMWARE_DELETIONS=" /var/lib/vmware /etc/vmware-vix -- cgit v1.2.3-55-g7522