提交 25b54852 编写于 作者: L Loreto Parisi 提交者: Gines

Fixed script execution path (#140)

上级 97193b90
......@@ -23,11 +23,11 @@ function executeShInItsFolder {
# $1 = sh file name
# $2 = folder where the sh file is
# $3 = folder to go back
cd $2
cd $2
exitIfError
sudo chmod +x $1
exitIfError
./$1
bash ./$1
exitIfError
cd $3
exitIfError
......@@ -40,10 +40,10 @@ exitIfError
executeShInItsFolder "./ubuntu/install_openpose_if_cuda8.sh" "./" "./"
executeShInItsFolder "install_openpose_if_cuda8.sh" "./ubuntu" "./"
exitIfError
echo "------------------------- Caffe and OpenPose Installed -------------------------"
echo ""
echo ""
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册