aboutsummaryrefslogtreecommitdiff
path: root/development/mkchroot/mkchroot.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/mkchroot/mkchroot.SlackBuild')
-rw-r--r--development/mkchroot/mkchroot.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/mkchroot/mkchroot.SlackBuild b/development/mkchroot/mkchroot.SlackBuild
index 807c3ecab0416..22c11947585f9 100644
--- a/development/mkchroot/mkchroot.SlackBuild
+++ b/development/mkchroot/mkchroot.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=mkchroot
VERSION=${VERSION:-1.4}
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}