summaryrefslogtreecommitdiffstats
path: root/ceph-menv/build_links.sh
blob: c4c9da34c59b16972b290f7e9de07c7b93fbd997 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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