Browse Source

update zmp

master
sasbot 4 years ago
parent
commit
54fc978d0d
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      Update.cmd

+ 3
- 2
Update.cmd View File

@@ -3,7 +3,7 @@
set maps_dir=sas.maps set maps_dir=sas.maps
set maps_url="https://github.com/sasgis/sas.maps" set maps_url="https://github.com/sasgis/sas.maps"
git fetch --verbose %maps_url%
git status
echo %ERRORLEVEL% echo %ERRORLEVEL%
@@ -14,7 +14,7 @@ if ERRORLEVEL -1 goto CloneRepo
goto err goto err
:CloneRepo
:CloneRepo
echo „¥« ¥¬ ª«®­ ९®§¨â®à¨ï á á¥à¢¥à  echo „¥« ¥¬ ª«®­ ९®§¨â®à¨ï á á¥à¢¥à 
rd /s /q %maps_dir% rd /s /q %maps_dir%
git clone %maps_url% %maps_dir% git clone %maps_url% %maps_dir%
@@ -31,6 +31,7 @@ goto err
:UpdateRepo :UpdateRepo
echo Ž¡­®¢«ï¥¬ ä ©«ë ¤® ¯®á«¥¤­¥© ¢¥àᨨ echo Ž¡­®¢«ï¥¬ ä ©«ë ¤® ¯®á«¥¤­¥© ¢¥àᨨ
git fetch --all --verbose
git clean -d -x --force git clean -d -x --force
git reset --hard origin/master git reset --hard origin/master
goto end goto end


Loading…
Cancel
Save