aboutsummaryrefslogtreecommitdiff
path: root/system/foomatic-db
diff options
context:
space:
mode:
Diffstat (limited to 'system/foomatic-db')
-rw-r--r--system/foomatic-db/foomatic-db.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/foomatic-db/foomatic-db.SlackBuild b/system/foomatic-db/foomatic-db.SlackBuild
index 691d38f98f5e5..e2114bb5a9bf7 100644
--- a/system/foomatic-db/foomatic-db.SlackBuild
+++ b/system/foomatic-db/foomatic-db.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=foomatic-db
VERSION=${VERSION:-20170729}
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}