mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
fix to work from main build directory
This commit is contained in:
parent
1c33c8cc31
commit
935e3b9673
2 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,8 @@ set -e -u
|
|||
# Grabs the list of string names from values.xml and greps for each.
|
||||
# If it's not found in a .java or .xml file lists it.
|
||||
|
||||
cd $(dirname $0)
|
||||
|
||||
IDS=$(./string-names.sh ../XWords4/res/values/strings.xml)
|
||||
STR_COUNT=$(echo $IDS | wc -w)
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ while [ $# -ge 1 ]; do
|
|||
shift
|
||||
done
|
||||
|
||||
[ -n "$FILE" ] || usage "file parameter missing"
|
||||
[ -e $FILE ] || usage "File $FILE not found"
|
||||
|
||||
xmlstarlet sel -T -t -m "/resources/string" -v @name -n $FILE
|
||||
|
|
Loading…
Add table
Reference in a new issue