Skip to content

Commit 927e026

Browse files
committed
Update PML build script
1 parent e1f5934 commit 927e026

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

packaging/scripts/percona-mongolink_builder.sh

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,13 @@ get_sources() {
8686
echo "BUILD_ID=${BUILD_ID}" >>percona-mongolink.properties
8787
echo "VERSION=${VERSION}" >>percona-mongolink.properties
8888
echo "BRANCH=${BRANCH}" >>percona-mongolink.properties
89-
#git clone "$REPO" ${PRODUCT}
89+
git clone "$REPO" ${PRODUCT}
9090

91-
# retval=$?
92-
# if [ $retval != 0 ]; then
93-
# echo "There were some issues during repo cloning from github. Please retry one more time"
94-
# exit 1
95-
# fi
96-
mv ${WORKDIR}/percona-mongolink/ percona-mongolink/
91+
retval=$?
92+
if [ $retval != 0 ]; then
93+
echo "There were some issues during repo cloning from github. Please retry one more time"
94+
exit 1
95+
fi
9796
cd percona-mongolink
9897
if [ ! -z "$BRANCH" ]; then
9998
git reset --hard

0 commit comments

Comments
 (0)