mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-10-18 08:24:06 +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
|
||||
}
|
||||
|
||||
PERCONA_TOOLKIT_BRANCH=${PERCONA_TOOLKIT_BRANCH:-""}
|
||||
if [ -n "$PERCONA_TOOLKIT_BRANCH" ]; then
|
||||
BRANCH=$PERCONA_TOOLKIT_BRANCH
|
||||
cd $BRANCH
|
||||
else
|
||||
while [ ! -f Makefile.PL ] && [ $(pwd) != "/" ]; do
|
||||
while [ ! -f Makefile.PL ] && [ $PWD != "/" ]; do
|
||||
cd ..
|
||||
done
|
||||
if [ ! -f Makefile.PL ]; then
|
||||
|
Reference in New Issue
Block a user