diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-02-17 14:24:07 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-02-17 15:05:54 +0000 |
commit | 8f340ee4baddd6f9a43ecb1754c563372b561ce3 (patch) | |
tree | c5c0ef5aaf063ac1216c6fcf91ed6b0f20ca24ce /src/xmlpatterns | |
parent | afa273865b7f2697c6e28fb1511486d2f9ce6bfe (diff) | |
download | qtxmlpatterns-8f340ee4baddd6f9a43ecb1754c563372b561ce3.tar.gz |
Fix script to regenerate files using qtokenautomaton
Amends 973105d9fb3372910255825e7395fb1156e24c02.
Change-Id: Ife3c926e9259e48b1e4c433311f78b80cc69220a
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/xmlpatterns')
-rwxr-xr-x | src/xmlpatterns/qtokenautomaton/regenerate.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xmlpatterns/qtokenautomaton/regenerate.sh b/src/xmlpatterns/qtokenautomaton/regenerate.sh index 23b49b1..e095549 100755 --- a/src/xmlpatterns/qtokenautomaton/regenerate.sh +++ b/src/xmlpatterns/qtokenautomaton/regenerate.sh @@ -1,8 +1,8 @@ -#/bin/sh -x +#!/bin/sh -x ############################################################################# ## -## Copyright (C) 2016 The Qt Company Ltd. +## Copyright (C) 2017 The Qt Company Ltd. ## Contact: http://www.qt.io/licensing/ ## ## This file is part of the build tools of the Qt Toolkit. @@ -33,6 +33,6 @@ ## ############################################################################# -cd $(dirname "$0")/.. +cd `dirname "$0"`/.. saxonb-xslt -ext:on -xsl:qtokenautomaton/qautomaton2cpp.xsl -s:schema/tokens.xml -o:schema/qxsdschematoken.cpp saxonb-xslt -ext:on -xsl:qtokenautomaton/qautomaton2cpp.xsl -s:parser/qxslttokenlookup.xml -o:parser/qxslttokenlookup.cpp |