aboutsummaryrefslogtreecommitdiff
path: root/system/autoslackpkg/autoslackpkg.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/autoslackpkg/autoslackpkg.SlackBuild')
-rw-r--r--system/autoslackpkg/autoslackpkg.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/autoslackpkg/autoslackpkg.SlackBuild b/system/autoslackpkg/autoslackpkg.SlackBuild
index 487b808dc622..dffdf6289c84 100644
--- a/system/autoslackpkg/autoslackpkg.SlackBuild
+++ b/system/autoslackpkg/autoslackpkg.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=autoslackpkg
VERSION=${VERSION:-1.1}
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}