5883a1ae24
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
5 lines
168 B
Bash
Executable File
5 lines
168 B
Bash
Executable File
#!/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"
|