aboutsummaryrefslogtreecommitdiff
path: root/system/percona-toolkit/percona-toolkit.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/percona-toolkit/percona-toolkit.SlackBuild')
-rw-r--r--system/percona-toolkit/percona-toolkit.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/percona-toolkit/percona-toolkit.SlackBuild b/system/percona-toolkit/percona-toolkit.SlackBuild
index d0cdb6fd1ae4e..8bc0e42bc82fd 100644
--- a/system/percona-toolkit/percona-toolkit.SlackBuild
+++ b/system/percona-toolkit/percona-toolkit.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=percona-toolkit
VERSION=${VERSION:-2.2.12}
BUILD=${BUILD:-1}
@@ -29,7 +31,6 @@ TAG=${TAG:-_SBo}
ARCH="noarch"
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}