mirror of
https://github.com/ceph/ceph
synced 2024-12-15 07:56:12 +00:00
f7fb547549
- rm -rv - list remaining files on failure to help debug #1230 Signed-off-by: Sage Weil <sage@newdream.net>
20 lines
302 B
Bash
Executable File
20 lines
302 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
wget -q http://ceph.newdream.net/qa/linux-2.6.33.tar.bz2
|
|
mkdir t
|
|
cd t
|
|
tar jxvf ../linux*
|
|
cd linux*
|
|
make defconfig
|
|
make -j`grep -c processor /proc/cpuinfo`
|
|
cd ..
|
|
if ! rm -rv linux* ; then
|
|
echo "uh oh rm -r failed, it left behind:"
|
|
find .
|
|
exit 1
|
|
fi
|
|
cd ..
|
|
rm -rv t linux*
|