Merge "Implement /usr/bin/env as the shebang in all bash scripts"

This commit is contained in:
Jenkins 2015-08-22 01:59:26 +00:00 committed by Gerrit Code Review
commit 0923c17da8
5 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
### BEGIN INIT INFO
# Provides: mysql

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
cd ${LXC_ROOTFS_MOUNT}/dev
mkdir net
mknod net/tun c 10 200

View File

@ -95,8 +95,8 @@ Resources:
MasterUserPassword: {Ref: MasterUserPassword}
WaitHandle: {Ref: WaitHandle}
- |
#!/bin/bash -v
#
#!/usr/bin/env bash
set -v
iptables -F
# Helper function

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Copyright 2015, Rackspace US, Inc.
#

View File

@ -37,7 +37,7 @@ info_block "Checking for required libraries." 2> /dev/null || source $(dirname $
## Main ----------------------------------------------------------------------
# Create a simple task to bounce all networks within a container.
cat > /tmp/ensure_container_networking.sh <<EOF
#!/bin/bash
#!/usr/bin/env bash
INTERFACES=""
INTERFACES+="\$(awk '/auto/ {print \$2}' /etc/network/interfaces) "
INTERFACES+="\$(ls -1 /etc/network/interfaces.d/ | awk -F'.cfg' '{print \$1}')"