Skip to content

Commit 6638164

Browse files
committed
update path
1 parent b42b8c2 commit 6638164

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ install:
2121
script:
2222
- chmod ugo+x ./url.sh ./build-c-new.sh
2323
- ./build-c-new.sh
24-
# - ./url.sh
24+
- ./url.sh
2525
- popd
2626
after_script:
2727
- "[ -f \"${HOME}/.netrc\" ] && rm -f ${HOME}/.netrc"

samples-recipes/build-c-new.sh

+9-7
Original file line numberDiff line numberDiff line change
@@ -64,22 +64,24 @@
6464
cp -r "${Gateway[$i]}" ../latest ;
6565
# Exit if directory not found
6666
else
67-
echo "failed to create ${Gateway[$i]}-${TRAVIS_OS_NAME} gateway"
68-
echo "directory ${Gateway[$i]}-${TRAVIS_OS_NAME}" not found
69-
exit 1
67+
echo "failed to create ${Gateway[$i]}-${TRAVIS_OS_NAME} gateway" ;
68+
echo "directory ${Gateway[$i]}-${TRAVIS_OS_NAME}" not found ;
69+
exit 1 ;
7070
fi
7171
done
7272

73-
}
74-
cd ../.. ;
75-
73+
}
74+
75+
7676
if [ "${TRAVIS_OS_NAME}" == "windows" ] ;then
7777
export GOOS=windows
7878
export GOARCH=amd64
7979
fi
8080

8181
create_dest_directory ;
82-
# package_gateway ;
82+
package_gateway ;
83+
84+
cd ../.. ;
8385

8486
git config user.email "[email protected]";
8587
git config user.name "LakshmiMekala"

0 commit comments

Comments
 (0)