mirror of
https://github.com/facebook/rocksdb.git
synced 2024-12-02 10:15:54 +00:00
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"
|