aboutsummaryrefslogtreecommitdiff
path: root/desktop/buttonmaker/buttonmaker.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/buttonmaker/buttonmaker.SlackBuild')
-rw-r--r--desktop/buttonmaker/buttonmaker.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/buttonmaker/buttonmaker.SlackBuild b/desktop/buttonmaker/buttonmaker.SlackBuild
index 0ef4c9009d6e4..1e6c01b4d04b7 100644
--- a/desktop/buttonmaker/buttonmaker.SlackBuild
+++ b/desktop/buttonmaker/buttonmaker.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=buttonmaker
SRCNAM=ButtonMaker
VERSION=${VERSION:-0.1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}