aboutsummaryrefslogtreecommitdiff
path: root/graphics/FSPViewer/FSPViewer.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/FSPViewer/FSPViewer.SlackBuild')
-rw-r--r--graphics/FSPViewer/FSPViewer.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/FSPViewer/FSPViewer.SlackBuild b/graphics/FSPViewer/FSPViewer.SlackBuild
index fc74338cde7ca..3357093bb3330 100644
--- a/graphics/FSPViewer/FSPViewer.SlackBuild
+++ b/graphics/FSPViewer/FSPViewer.SlackBuild
@@ -20,6 +20,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=FSPViewer
VERSION=${VERSION:-2.1.0}
BUILD=${BUILD:-1}
@@ -40,7 +42,6 @@ else
exit 1
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}