Use '#!/usr/bin/env bash' as shebang in script files
Change-Id: I189d7c13425746db915415577a9e4a090aebf285
This commit is contained in:
parent
e40241a18c
commit
bd3f4b83f5
|
@ -1,8 +1,7 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Bootstrap a minimal environment required to build
|
||||
# a Drupal distribution tarball on Ubuntu 12.04LTS (precise)
|
||||
#
|
||||
# a Drupal distribution tarball on Ubuntu 12.04 LTS (Precise Pangolin)
|
||||
|
||||
set -xe
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Build groups distribution from local filesystem instead of fetching
|
||||
# directly from git
|
||||
#
|
||||
|
||||
TARGET_DIR=${TARGET_DIR:-publish}
|
||||
PROFILE_NAME=${PROFILE_NAME:-groups}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Gating test script for Community portal
|
||||
# 1. prepare mysql database
|
||||
# 2. build distribution tarball
|
||||
|
@ -8,7 +8,6 @@
|
|||
# Prerequisites:
|
||||
# bootstrap.sh required for setup php/drush environment.
|
||||
# git clone the project into groups directory.
|
||||
#
|
||||
|
||||
set -xe
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Extract translation template files from groups modules
|
||||
#
|
||||
# templates will be created in translations/ directory as
|
||||
|
@ -7,7 +7,7 @@
|
|||
#
|
||||
# Usage:
|
||||
# cd profiles/groups
|
||||
# bash ./scripts/pot-extract.sh
|
||||
# ./scripts/pot-extract.sh
|
||||
|
||||
PROFILE_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )
|
||||
mkdir -p $PROFILE_DIR/translations/templates
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Create a new language skeleton from pot template files
|
||||
#
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "Usage: $0 <lang-code>"
|
||||
|
|
Loading…
Reference in New Issue