summaryrefslogtreecommitdiff
path: root/office/leafpad/leafpad.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/leafpad/leafpad.SlackBuild')
-rw-r--r--office/leafpad/leafpad.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/office/leafpad/leafpad.SlackBuild b/office/leafpad/leafpad.SlackBuild
index e3741fc5ec..2c61f6920b 100644
--- a/office/leafpad/leafpad.SlackBuild
+++ b/office/leafpad/leafpad.SlackBuild
@@ -21,6 +21,8 @@
# (INCLUDING NEGLIGENCE OR 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=leafpad
VERSION=${VERSION:-0.8.18.1}
BUILD=${BUILD:-2}
@@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}