summaryrefslogtreecommitdiff
path: root/desktop/imgur-screenshot
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/imgur-screenshot')
-rw-r--r--desktop/imgur-screenshot/imgur-screenshot.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/imgur-screenshot/imgur-screenshot.SlackBuild b/desktop/imgur-screenshot/imgur-screenshot.SlackBuild
index 497bb9f815..29e4ba1764 100644
--- a/desktop/imgur-screenshot/imgur-screenshot.SlackBuild
+++ b/desktop/imgur-screenshot/imgur-screenshot.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=imgur-screenshot
VERSION=${VERSION:-2.0.0}
BUILD=${BUILD:-1}
@@ -29,7 +31,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}