mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-10-19 17:04:00 +00:00
Fix using PERCONA_TOOLKIT_BRANCH in build-packages when it's not already defined.
This commit is contained in:
@@ -19,11 +19,12 @@ warn() {
|
|||||||
exit_status=1
|
exit_status=1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PERCONA_TOOLKIT_BRANCH=${PERCONA_TOOLKIT_BRANCH:-""}
|
||||||
if [ -n "$PERCONA_TOOLKIT_BRANCH" ]; then
|
if [ -n "$PERCONA_TOOLKIT_BRANCH" ]; then
|
||||||
BRANCH=$PERCONA_TOOLKIT_BRANCH
|
BRANCH=$PERCONA_TOOLKIT_BRANCH
|
||||||
cd $BRANCH
|
cd $BRANCH
|
||||||
else
|
else
|
||||||
while [ ! -f Makefile.PL ] && [ $(pwd) != "/" ]; do
|
while [ ! -f Makefile.PL ] && [ $PWD != "/" ]; do
|
||||||
cd ..
|
cd ..
|
||||||
done
|
done
|
||||||
if [ ! -f Makefile.PL ]; then
|
if [ ! -f Makefile.PL ]; then
|
||||||
|
Reference in New Issue
Block a user