diff --git a/debian/changelog b/debian/changelog index 84ad56a0..88eea24e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,7 @@ ostree (2017.10-1) UNRELEASED; urgency=medium when splitting -arch/-indep builds. * Add patches to make the tests pass again when /var/tmp is on tmpfs, which does not support user xattrs + * Add patch to remove useless #! from bash completions -- Simon McVittie Tue, 29 Aug 2017 16:08:09 +0100 diff --git a/debian/patches/Remove-shebang-from-bash-completions.patch b/debian/patches/Remove-shebang-from-bash-completions.patch new file mode 100644 index 00000000..e1c39750 --- /dev/null +++ b/debian/patches/Remove-shebang-from-bash-completions.patch @@ -0,0 +1,22 @@ +From: Simon McVittie +Date: Tue, 29 Aug 2017 17:05:16 +0100 +Subject: Remove shebang from bash completions + +bash completions are to be sourced. It makes little sense to +execute them. + +Signed-off-by: Simon McVittie +--- + bash/ostree | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/bash/ostree b/bash/ostree +index f4305f6..da8b9af 100644 +--- a/bash/ostree ++++ b/bash/ostree +@@ -1,5 +1,3 @@ +-#!/bin/bash +-# + # bash completion file for ostree commands + # + # This script provides completion of: diff --git a/debian/patches/series b/debian/patches/series index a2c88e21..7bffb174 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -3,3 +3,4 @@ test-pull-bareuser.sh-This-test-uses-bare-user-hence-need.patch libtest-Allow-skipping-single-checks-without-user-xattrs.patch basic-test-Skip-explicit-uses-of-bare-user-if-no-user-xat.patch test-basic-user-only-Skip-final-step-if-no-user-xattrs.patch +Remove-shebang-from-bash-completions.patch