Install completion scripts as DATA, not SCRIPTS
authorRyan Lortie <desrt@desrt.ca>
Sun, 3 Jul 2011 15:37:35 +0000 (17:37 +0200)
committerRyan Lortie <desrt@desrt.ca>
Sun, 3 Jul 2011 15:37:35 +0000 (17:37 +0200)
They are sourced by the shell and don't include a #!/bin/sh, so they shouldn't
be marked as executable.

gio/Makefile.am

index 1116d74..f8bfe9e 100644 (file)
@@ -623,7 +623,7 @@ gdbus_LDADD = libgio-2.0.la \
        $(top_builddir)/gobject/libgobject-2.0.la
 
 completiondir = $(sysconfdir)/bash_completion.d
-completion_SCRIPTS = \
+completion_DATA = \
        gdbus-bash-completion.sh                \
        gsettings-bash-completion.sh
 EXTRA_DIST += $(completion_SCRIPTS)