mirror of
https://github.com/ceph/ceph
synced 2024-12-22 03:22:00 +00:00
75e361433d
also re-indent to be consistent with other part of this script Signed-off-by: Kefu Chai <kchai@redhat.com>
26 lines
451 B
Bash
Executable File
26 lines
451 B
Bash
Executable File
#!/bin/sh -ex
|
|
|
|
if [ ! -e Makefile ]; then
|
|
echo 'run this from the build dir'
|
|
exit 1
|
|
fi
|
|
|
|
if [ `uname` = FreeBSD ]; then
|
|
# otherwise module prettytable will not be found
|
|
export PYTHONPATH=/usr/local/lib/python2.7/site-packages
|
|
exec_mode=+111
|
|
else
|
|
exec_mode=/111
|
|
fi
|
|
|
|
for f in `find ../qa/standalone -perm $exec_mode -type f`
|
|
do
|
|
echo '--- $f ---'
|
|
PATH=$PATH:bin \
|
|
CEPH_ROOT=.. \
|
|
CEPH_LIB=lib \
|
|
$f || exit 1
|
|
done
|
|
|
|
exit 0
|