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