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

Fixed script execution path (#140)

上级 97193b90
...@@ -23,11 +23,11 @@ function executeShInItsFolder { ...@@ -23,11 +23,11 @@ function executeShInItsFolder {
# $1 = sh file name # $1 = sh file name
# $2 = folder where the sh file is # $2 = folder where the sh file is
# $3 = folder to go back # $3 = folder to go back
cd $2 cd $2
exitIfError exitIfError
sudo chmod +x $1 sudo chmod +x $1
exitIfError exitIfError
./$1 bash ./$1
exitIfError exitIfError
cd $3 cd $3
exitIfError exitIfError
...@@ -40,10 +40,10 @@ exitIfError ...@@ -40,10 +40,10 @@ exitIfError
executeShInItsFolder "./ubuntu/install_openpose_if_cuda8.sh" "./" "./" executeShInItsFolder "install_openpose_if_cuda8.sh" "./ubuntu" "./"
exitIfError exitIfError
echo "------------------------- Caffe and OpenPose Installed -------------------------" 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.
先完成此消息的编辑!
想要评论请 注册