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: cbffd38ecdbfffb2438969ec007ab345ed893ccbmain
parent
cc01985db0
commit
5883a1ae24
@ -1,4 +1,4 @@ |
||||
#!/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" |
||||
|
@ -1,2 +1,2 @@ |
||||
#!/bin/bash |
||||
#!/usr/bin/env bash |
||||
docker run -v $PWD:/rocks -w /rocks buildpack-deps make |
||||
|
@ -1,3 +1,3 @@ |
||||
#!/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('> ');" |
||||
|
Loading…
Reference in new issue