diff options
author | Ramón M. Gómez <ramongomez@us.es> | 2020-01-21 11:20:52 +0100 |
---|---|---|
committer | Ramón M. Gómez <ramongomez@us.es> | 2020-01-21 11:20:52 +0100 |
commit | 2edc4cb27ef6d38e397fae835efb5849d73400e5 (patch) | |
tree | f9d17132ff14c62e65a07fc4795982ad9913faa6 /installer/opengnsys_import.sh | |
parent | b44b933b35fe7d46d9b390a07fe31a00d1ab7fe6 (diff) |
#951: Applying commit `b5db03a` to the import script.
Diffstat (limited to 'installer/opengnsys_import.sh')
-rwxr-xr-x | installer/opengnsys_import.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/opengnsys_import.sh b/installer/opengnsys_import.sh index 23e8e72c..29d279e9 100755 --- a/installer/opengnsys_import.sh +++ b/installer/opengnsys_import.sh @@ -146,7 +146,7 @@ function updateSqlFile() $CATALOG-$OLDVERSION-*.sql) # Actualización de versión n a n+1. FILES="$FILES $file" - OLDVERSION="$(echo $file | cut -f3 -d-)" + OLDVERSION="$(echo ${file%.*} | cut -f3 -d-)" ;; $CATALOG-*-$NEWVERSION.sql) # Última actualización de versión final-1 a final. |