Add #!/bin/bash to library functions

Currently when these files are opened your editor doesn't know what to
do with them.  Add #!/bin/bash to library functions so that editors,
diff-tools, etc can do syntax highlighting.

There are other ways to skin this cat, such as renaming to ".sh",
adding -* style editor flags, etc.  We had this discussion in DevStack
too, and came to the conclusion the simplest thing that works for
everyone is to just put the #! at the top.

Change-Id: I4cf64321e14844696139f5d40e4d719436390b35
This commit is contained in:
Ian Wienand 2015-08-28 14:49:04 +10:00
parent 6afe6577ac
commit 494a833987
7 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,4 @@
#!/bin/bash
# Copyright 2012 Hewlett-Packard Development Company, L.P. # Copyright 2012 Hewlett-Packard Development Company, L.P.
# All Rights Reserved. # All Rights Reserved.
# #

View File

@ -1,4 +1,4 @@
# vim: syntax=sh ts=4 sts=4 sw=2:et #!/bin/bash
# Copyright 2012 Hewlett-Packard Development Company, L.P. # Copyright 2012 Hewlett-Packard Development Company, L.P.
# All Rights Reserved. # All Rights Reserved.
# #

View File

@ -1,3 +1,4 @@
#!/bin/bash
# Copyright 2012 Hewlett-Packard Development Company, L.P. # Copyright 2012 Hewlett-Packard Development Company, L.P.
# All Rights Reserved. # All Rights Reserved.
# #

View File

@ -1,3 +1,4 @@
#!/bin/bash
# Copyright 2012 Hewlett-Packard Development Company, L.P. # Copyright 2012 Hewlett-Packard Development Company, L.P.
# All Rights Reserved. # All Rights Reserved.
# #

View File

@ -1,3 +1,4 @@
#!/bin/bash
# Copyright 2012 Hewlett-Packard Development Company, L.P. # Copyright 2012 Hewlett-Packard Development Company, L.P.
# All Rights Reserved. # All Rights Reserved.
# #

View File

@ -1,3 +1,4 @@
#!/bin/bash
# Copyright 2012 Hewlett-Packard Development Company, L.P. # Copyright 2012 Hewlett-Packard Development Company, L.P.
# Copyright (c) 2012 NTT DOCOMO, INC. # Copyright (c) 2012 NTT DOCOMO, INC.
# #

View File

@ -1,3 +1,4 @@
#!/bin/bash
# Copyright 2012 Hewlett-Packard Development Company, L.P. # Copyright 2012 Hewlett-Packard Development Company, L.P.
# Copyright (c) 2012 NTT DOCOMO, INC. # Copyright (c) 2012 NTT DOCOMO, INC.
# #