aboutsummaryrefslogtreecommitdiff
path: root/system/makeself/makeself.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/makeself/makeself.SlackBuild')
-rw-r--r--system/makeself/makeself.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/makeself/makeself.SlackBuild b/system/makeself/makeself.SlackBuild
index 529d36d1439f4..a59f678853196 100644
--- a/system/makeself/makeself.SlackBuild
+++ b/system/makeself/makeself.SlackBuild
@@ -24,6 +24,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=makeself
VERSION=${VERSION:-2.4.2}
BUILD=${BUILD:-1}
@@ -31,7 +33,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}