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