3 # Enable running in test directory or via make distcheck when $srcdir is defined
4 if [ -z "$srcdir" ]; then
8 # Avoid creator line as that now has the potential to be changed
9 # (either via preference setting or version number change)
10 grep -v "^creator=" $srcdir/SF
#022.gpx > $srcdir/SF#022-creator.gpx
11 result
=$
(.
/gpx2gpx
< $srcdir/SF
#022.gpx | grep -v "^creator=" | grep -vF "<desc>Created by:" | diff $srcdir/SF#022-creator.gpx -)
13 echo "gpx2gpx failure"
16 rm $srcdir/SF
#022-creator.gpx