From 8f340ee4baddd6f9a43ecb1754c563372b561ce3 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 17 Feb 2017 14:24:07 +0100 Subject: Fix script to regenerate files using qtokenautomaton Amends 973105d9fb3372910255825e7395fb1156e24c02. Change-Id: Ife3c926e9259e48b1e4c433311f78b80cc69220a Reviewed-by: Edward Welbourne --- src/xmlpatterns/qtokenautomaton/regenerate.sh | 6 +++--- 1 file 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 -- cgit v1.2.1