Skip to content

Commit 25b5485

Browse files
loretoparisigineshidalgo99
authored andcommitted
Fixed script execution path (#140)
1 parent 97193b9 commit 25b5485

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ubuntu/install_caffe_and_openpose_if_cuda8.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ function executeShInItsFolder {
2323
# $1 = sh file name
2424
# $2 = folder where the sh file is
2525
# $3 = folder to go back
26-
cd $2
26+
cd $2
2727
exitIfError
2828
sudo chmod +x $1
2929
exitIfError
30-
./$1
30+
bash ./$1
3131
exitIfError
3232
cd $3
3333
exitIfError
@@ -40,10 +40,10 @@ exitIfError
4040

4141

4242

43-
executeShInItsFolder "./ubuntu/install_openpose_if_cuda8.sh" "./" "./"
43+
executeShInItsFolder "install_openpose_if_cuda8.sh" "./ubuntu" "./"
4444
exitIfError
4545

4646

4747

4848
echo "------------------------- Caffe and OpenPose Installed -------------------------"
49-
echo ""
49+
echo ""

0 commit comments

Comments
 (0)