提交 5883a1ae 编写于 作者: A Alan Somers 提交者: Facebook Github Bot

Fix /bin/bash shebangs

Summary:
"/bin/bash" is a Linuxism.  "/usr/bin/env bash" is portable.
Closes https://github.com/facebook/rocksdb/pull/2646

Differential Revision: D5556259

Pulled By: ajkr

fbshipit-source-id: cbffd38ecdbfffb2438969ec007ab345ed893ccb
上级 cc01985d
#!/bin/bash
#!/usr/bin/env bash
# Create a tmp directory for the test to use
TEST_DIR=$(mktemp -d /dev/shm/fbcode_rocksdb_XXXXXXX)
TEST_TMPDIR="$TEST_DIR" $@ && rm -rf "$TEST_DIR"
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright (c) 2016, Facebook. All rights reserved.
#
......
#!/bin/bash
#!/usr/bin/env bash
docker run -v $PWD:/rocks -w /rocks buildpack-deps make
#!/bin/bash
#!/usr/bin/env bash
# If clang_format_diff.py command is not specfied, we assume we are able to
# access directly without any path.
if [ -z $CLANG_FORMAT_DIFF ]
......
#!/bin/bash
#!/usr/bin/env bash
set -e
......
#!/bin/bash
#!/usr/bin/env bash
# This script is executed by Sandcastle
# to determine next steps to run
......
#!/bin/bash
#!/usr/bin/env bash
# Exit on error.
set -e
......
#!/bin/bash
#!/usr/bin/env bash
# REQUIRE: db_bench binary exists in the current directory
if [ $# -ne 1 ]; then
......
#!/bin/bash
#!/usr/bin/env bash
# REQUIRE: db_bench binary exists in the current directory
#
# This should be used with the LevelDB fork listed here to use additional test options.
......
#!/bin/bash
#!/usr/bin/env bash
#
# A shell script to load some pre generated data file to a DB using ldb tool
# ./ldb needs to be avaible to be executed.
......
#!/bin/bash
#!/usr/bin/env bash
#
#(c) 2004-present, Facebook Inc. All rights reserved.
#
......
#!/bin/bash
#!/usr/bin/env bash
#
# A shell script to load some pre generated data file to a DB using ldb tool
# ./ldb needs to be avaible to be executed.
......
#!/bin/bash
#!/usr/bin/env bash
#
#(c) 2004-present, Facebook, all rights reserved.
# See the LICENSE file for usage and distribution rights.
......
#!/bin/bash
#!/usr/bin/env bash
node -e "RDB = require('./build/Release/rdb').DBWrapper; console.log('Loaded rocksdb in variable RDB'); repl = require('repl').start('> ');"
#!/bin/bash
#!/usr/bin/env bash
# The RocksDB regression test script.
# REQUIREMENT: must be able to run make db_bench in the current directory
#
......
#!/bin/bash
#!/usr/bin/env bash
# REQUIRE: benchmark.sh exists in the current directory
# After execution of this script, log files are generated in $output_dir.
# report.txt provides a high level statistics
......
#!/bin/bash
#!/usr/bin/env bash
# REQUIRE: benchmark_leveldb.sh exists in the current directory
# After execution of this script, log files are generated in $output_dir.
# report.txt provides a high level statistics
......
#!/bin/bash
#!/usr/bin/env bash
#
# A shell script to verify DB generated by generate_random_db.sh cannot opened and read correct data.
# ./ldb needs to be avaible to be executed.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册