aboutsummaryrefslogtreecommitdiff
path: root/system/google-fonts/google-fonts.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/google-fonts/google-fonts.SlackBuild')
-rw-r--r--system/google-fonts/google-fonts.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/google-fonts/google-fonts.SlackBuild b/system/google-fonts/google-fonts.SlackBuild
index ed93dfeb906a7..ea68bf9bb7874 100644
--- a/system/google-fonts/google-fonts.SlackBuild
+++ b/system/google-fonts/google-fonts.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=google-fonts
VERSION=${VERSION:-20170830}
BUILD=${BUILD:-1}
@@ -32,7 +34,6 @@ COMMIT=${COMMIT:-8382674661d70b35dcfec78c7d4b705685ed6a4f}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}