mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
make prepare-commit.sh work with git-new-workdir
This commit is contained in:
parent
40972f06fa
commit
0923f56cef
@ -53,7 +53,7 @@ if [ -z "$MODIFIED" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
${TOPLEVEL}/scripts/spell_check/check_spelling.sh $MODIFIED
|
||||
[ -x ${TOPLEVEL}/scripts/spell_check/check_spelling.sh ] && ${TOPLEVEL}/scripts/spell_check/check_spelling.sh $MODIFIED
|
||||
|
||||
# save original changes
|
||||
REV=$(git log -n1 --pretty=%H)
|
||||
|
@ -2245,10 +2245,10 @@ bool QgsCoordinateReferenceSystem::syncDatumTransform( const QString &dbPath )
|
||||
QStringList v;
|
||||
v.reserve( sizeof( map ) / sizeof( *map ) );
|
||||
|
||||
for(;;)
|
||||
for ( ;; )
|
||||
{
|
||||
char **values = CSVReadParseLine( fp );
|
||||
if( !values )
|
||||
if ( !values )
|
||||
break;
|
||||
|
||||
v.clear();
|
||||
|
Loading…
x
Reference in New Issue
Block a user