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