summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2020-01-16 10:20:26 +0100
committerRamón M. Gómez <ramongomez@us.es>2020-01-16 10:20:26 +0100
commit5936a6de0e797e4ca29c3eb27dfdd11b2d7311f2 (patch)
treecd6282cb55c3aaedcb2a4e141a42633129b026f1
parent663363a1d39ac4d4055ade483c600aeafef8c8ac (diff)
#950: Import script uses `svn export` instead of `svn checkout` to download directories.
-rwxr-xr-xinstaller/opengnsys_import.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/opengnsys_import.sh b/installer/opengnsys_import.sh
index 0e7121eb..2b8ce645 100755
--- a/installer/opengnsys_import.sh
+++ b/installer/opengnsys_import.sh
@@ -236,7 +236,7 @@ if [ $OLDVERSION != $NEWVERSION ] ; then
exit 0
fi
# Nos bajamos los archivos de actualización de la base de datos
- svn checkout "$SVN_URL" $TMPDIR/Database
+ svn export "$SVN_URL" $TMPDIR/Database
[ $? -ne 0 ] && errorAndLog "$PROG: Error getting code from $SVN_URL" && exit 6
# Solicitamos la clave de mysql.