aboutsummaryrefslogtreecommitdiff
path: root/graphics/gallery
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gallery')
-rw-r--r--graphics/gallery/gallery.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/gallery/gallery.SlackBuild b/graphics/gallery/gallery.SlackBuild
index 2a9109c38da74..b328e35219760 100644
--- a/graphics/gallery/gallery.SlackBuild
+++ b/graphics/gallery/gallery.SlackBuild
@@ -25,6 +25,8 @@
# 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="gallery"
VERSION=${VERSION:-3.0.9}
BUILD=${BUILD:-1}
@@ -32,7 +34,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch # hardcode ARCH
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}