aboutsummaryrefslogtreecommitdiff
path: root/misc/zinnia/zinnia.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/zinnia/zinnia.SlackBuild')
-rw-r--r--misc/zinnia/zinnia.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/zinnia/zinnia.SlackBuild b/misc/zinnia/zinnia.SlackBuild
index 7b5de6296c139..bc3f5cff4056a 100644
--- a/misc/zinnia/zinnia.SlackBuild
+++ b/misc/zinnia/zinnia.SlackBuild
@@ -23,6 +23,8 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=zinnia
VERSION=${VERSION:-0.06}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}