summaryrefslogtreecommitdiffstats
path: root/ceph-menv/build_links.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xceph-menv/build_links.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/ceph-menv/build_links.sh b/ceph-menv/build_links.sh
new file mode 100755
index 000000000..c4c9da34c
--- /dev/null
+++ b/ceph-menv/build_links.sh
@@ -0,0 +1,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