Blame 0057-Remove-shebang-from-shell-completion-files.patch

Harald Hoyer 4734ec
From 336bd09d2cf9d3ded4abb828eb54742218a32b04 Mon Sep 17 00:00:00 2001
Harald Hoyer 4734ec
From: Hannes Reinecke <hare@suse.de>
Harald Hoyer 4734ec
Date: Fri, 29 Nov 2013 13:13:54 +0100
Harald Hoyer 4734ec
Subject: [PATCH] Remove shebang from shell-completion files
Harald Hoyer 4734ec
Harald Hoyer 4734ec
Shell-completion files are meant to be sourced, not executed.
Harald Hoyer 4734ec
So they shouldn't have a shebang at the start.
Harald Hoyer 4734ec
Harald Hoyer 4734ec
Signed-off-by: Hannes Reinecke <hare@suse.de>
Harald Hoyer 4734ec
---
Harald Hoyer 4734ec
 dracut-bash-completion.sh   | 2 +-
Harald Hoyer 4734ec
 lsinitrd-bash-completion.sh | 2 +-
Harald Hoyer 4734ec
 2 files changed, 2 insertions(+), 2 deletions(-)
Harald Hoyer 4734ec
Harald Hoyer 4734ec
diff --git a/dracut-bash-completion.sh b/dracut-bash-completion.sh
Harald Hoyer 4734ec
index d796c35..9f359c6 100644
Harald Hoyer 4734ec
--- a/dracut-bash-completion.sh
Harald Hoyer 4734ec
+++ b/dracut-bash-completion.sh
Harald Hoyer 4734ec
@@ -1,4 +1,4 @@
Harald Hoyer 4734ec
-#!/bin/bash
Harald Hoyer 4734ec
+#
Harald Hoyer 4734ec
 # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
Harald Hoyer 4734ec
 # ex: ts=8 sw=4 sts=4 et filetype=sh
Harald Hoyer 4734ec
 #
Harald Hoyer 4734ec
diff --git a/lsinitrd-bash-completion.sh b/lsinitrd-bash-completion.sh
Harald Hoyer 4734ec
index 78ab165..3df2965 100644
Harald Hoyer 4734ec
--- a/lsinitrd-bash-completion.sh
Harald Hoyer 4734ec
+++ b/lsinitrd-bash-completion.sh
Harald Hoyer 4734ec
@@ -1,4 +1,4 @@
Harald Hoyer 4734ec
-#!/bin/bash
Harald Hoyer 4734ec
+#
Harald Hoyer 4734ec
 # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
Harald Hoyer 4734ec
 # ex: ts=8 sw=4 sts=4 et filetype=sh
Harald Hoyer 4734ec
 #