mirror of
https://github.com/ceph/ceph
synced 2024-12-26 13:33:57 +00:00
3aae5ca6fd
/bin/bash is a Linuxism. Other operating systems install bash to different paths. Use /usr/bin/env in shebangs to find bash. Signed-off-by: Alan Somers <asomers@gmail.com>
23 lines
244 B
Bash
Executable File
23 lines
244 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
mydir=`dirname $0`
|
|
|
|
wget http://download.ceph.com/qa/ffsb.tar.bz2
|
|
tar jxvf ffsb.tar.bz2
|
|
cd ffsb-*
|
|
./configure
|
|
make
|
|
cd ..
|
|
mkdir tmp
|
|
cd tmp
|
|
|
|
for f in $mydir/*.ffsb
|
|
do
|
|
../ffsb-*/ffsb $f
|
|
done
|
|
cd ..
|
|
rm -r tmp ffsb*
|
|
|