/bin/bash all the things.

Since we are using bash syntax in some of the element fragments,
we should make sure we use bash for all of them, so that things don't
break on systems where /bin/sh != /bin/bash.

Change-Id: If2f043c57aa4e1492b7f9839213ef6123f683612
This commit is contained in:
Victor Lowther 2013-11-06 22:25:34 -06:00
parent 5387b01af9
commit 43b70ce224
23 changed files with 25 additions and 23 deletions

View File

@ -1,2 +1,2 @@
#!/bin/sh #!/bin/bash
install-packages dkms install-packages dkms

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/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 @@
#!/bin/sh #!/bin/bash
home=$(dirname $0) home=$(dirname $0)
set -uex set -uex

View File

@ -1,2 +1,2 @@
#!/bin/sh #!/bin/bash
install-packages kexec-tools install-packages kexec-tools

View File

@ -1,2 +1,2 @@
#!/bin/sh #!/bin/bash
install-packages tgt install-packages tgt

View File

@ -1,2 +1,2 @@
#!/bin/sh #!/bin/bash
install-packages busybox install-packages busybox

View File

@ -1,4 +1,6 @@
#!/bin/sh -x #!/bin/bash
set -x
# Prepare the target system for regenerating /etc/network/interfaces # Prepare the target system for regenerating /etc/network/interfaces
# on its first boot. # on its first boot.

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# Trigger a run of dkms for all the modules installed # Trigger a run of dkms for all the modules installed
# to ensure we have valid modules build for all. # to ensure we have valid modules build for all.

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/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 @@
#!/bin/sh #!/bin/bash
# Prevent apt from installing recommended packages # Prevent apt from installing recommended packages
dd of=/etc/apt/apt.conf.d/95disable-recommends << _EOF_ dd of=/etc/apt/apt.conf.d/95disable-recommends << _EOF_

View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/bash
install -m 0755 -o root -g root $(dirname $0)/../bin/* /usr/local/bin install -m 0755 -o root -g root $(dirname $0)/../bin/* /usr/local/bin

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# If the patch doesn't apply just do nothing. This patch fixes a small # If the patch doesn't apply just do nothing. This patch fixes a small
# issue in the script that writes the network configuration files from # issue in the script that writes the network configuration files from

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/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 @@
#!/bin/sh #!/bin/bash
set -e set -e
set -x set -x

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain # not use this file except in compliance with the License. You may obtain

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# zeroconf should not be activated or it will add a 169.254.0.0 # zeroconf should not be activated or it will add a 169.254.0.0
# route. The route will interfere with access to the nova metadata # route. The route will interfere with access to the nova metadata

View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/bash
install -m 0755 -o root -g root $(dirname $0)/../bin/* /usr/local/bin install -m 0755 -o root -g root $(dirname $0)/../bin/* /usr/local/bin

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
if [ "i386" = "$ARCH" ]; then if [ "i386" = "$ARCH" ]; then
basearch=i386 basearch=i386

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
echo "SELINUX=permissive" > /etc/selinux/config echo "SELINUX=permissive" > /etc/selinux/config
echo "SELINUXTYPE=targeted" >> /etc/selinux/config echo "SELINUXTYPE=targeted" >> /etc/selinux/config

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
home=$(dirname $0) home=$(dirname $0)
set -uex set -uex

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
set -uex set -uex

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# This package is broken and causes real issues on update: # This package is broken and causes real issues on update:
# https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1227420 # https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1227420
apt-get --yes remove apt-xapian-index || : apt-get --yes remove apt-xapian-index || :

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
set -e set -e