mirror of
https://github.com/ceph/ceph
synced 2024-12-18 01:16:55 +00:00
17 lines
246 B
Bash
17 lines
246 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
DIR=`dirname $0`
|
||
|
ROOT=$1
|
||
|
|
||
|
[ "$ROOT" == "" ] && ROOT="$HOME/ceph"
|
||
|
|
||
|
mkdir -p $DIR/bin
|
||
|
|
||
|
echo $PWD
|
||
|
for f in `ls $ROOT/build/bin`; do
|
||
|
echo $f
|
||
|
ln -sf ../mdo.sh $DIR/bin/$f
|
||
|
done
|
||
|
|
||
|
echo "MRUN_CEPH_ROOT=$ROOT" > $DIR/.menvroot
|