Commit 101383a6 authored by Arnaud Blanchard's avatar Arnaud Blanchard

Allow o execute it from any directory

parent 6eb29aa9
......@@ -52,7 +52,10 @@ fi
#We go to blaar directory save it and go to the previous directory. Usefull if install.sh is not call from blaar directory
cd $(dirname $0)
blaar_dir=$PWD/$(dirname $0)
project_dir=$PWD/$1
cd $blaar_dir
if [ "$1" = "all" ]; then
echo
......@@ -78,6 +81,6 @@ if [ "$1" = "all" ]; then
done
echo
else
developer_tools/install_project.sh $1 $build_type
developer_tools/install_project.sh $project_dir $build_type
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment