Blame SOURCES/0053-Remove-shebang-from-shell-completion-files.patch

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