1
0
Fork 0

Fix shebangs in scripts so that they work on non-linuxey systems (#9254)

This commit is contained in:
Markus Pfeiffer 2019-06-13 18:42:43 +01:00 committed by Frank Celler
parent 307880ffad
commit 422fd6057e
39 changed files with 39 additions and 39 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# we first count open sockets in total on the system:
echo "open sockets: "
F="/tmp/$$_netstat.log"

View File

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

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# To install the build libraries needed by this script run:
# `sudo apt-get install cmake libjemalloc-dev libssl-dev libreadline-dev`
# After the packages are built you will find them in /var/tmp

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# To install the build libraries needed by this script run:
# `sudo apt-get install cmake libjemalloc-dev libssl-dev libreadline-dev`
# After the packages are built you will find them in /var/tmp

View File

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

View File

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

View File

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

View File

@ -1,5 +1,5 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

View File

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

View File

@ -1,5 +1,5 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [[ "$1" == "" ]]; then
echo "usage $0 outfile"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [[ "$1" == "" ]]; then
echo "usage $0 outfile"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
function help() {
echo "USAGE: $0 [options]"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [ "$*" == "" ] ; then
curl -Ls http://localhost:4001/_api/agency/read -d '[["/"]]' | jq .
else

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# This script runs the go-driver tests against an ArangoDB enterprise
# docker image that has encryption turned on.

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
##python-setuptools
##

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Generate test data for maintenance unit tests
#

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
killall arangod
sleep 2

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# limit memory useage for process
# using control groups https://en.wikipedia.org/wiki/Cgroups

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
JSLINTOUT=/tmp/jslintout.$$
trap "rm -rf ${JSLINTOUT}" EXIT

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# This requires the perf utility to be installed and the OS must be linux.
# Compile with CMAKE_BUILD_TYPE=RelWithDebInfo in the subdirectory "build".

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# This requires the perf utility to be installed and the OS must be linux.
# Compile with CMAKE_BUILD_TYPE=RelWithDebInfo in the subdirectory "build".

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
params=("$@")
case $OSTYPE in

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [ -z "$XTERM" ] ; then
XTERM=x-terminal-emulator
fi

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
params=("$@")
rm -rf active

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
params=("$@")
rm -rf cluster

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
DOCKERIMAGE=arangodb/arangodb:3.0.0-p4
if [ -z "$XTERM" ] ; then
XTERM=x-terminal-emulator

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
function help() {
echo "USAGE: scripts/startStandAloneAgency.sh [options]"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Author Jan Christoph Uhde
main(){

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
export PID=$$
export GLIBCXX_FORCE_NEW=1

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
filename=arango-inspector.json
outdir=arango-inspector

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
rm -f cppcheck.log cppcheck.tmp
trap "rm -rf cppcheck.tmp" EXIT
touch cppcheck.tmp

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
export PID=$$
if test -n "$ORIGINAL_PATH"; then

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
IN=${1:-README.md}

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
exec python \
`pwd`/utils/generateSwagger.py \

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if test "`git status --short | grep '^\(.[MAU]\|[MAU].\) .*js$' | wc -l`" -eq 0; then
exit 0;

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
IN="$1"
OUT="$2"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
find arangod arangosh lib enterprise \
-name Zip -prune -o \

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
while read file; do
echo "$file: $1 -> $2"