Fix elgip_pull.bat not working because remote not set

This commit is contained in:
David Steele 2023-01-25 14:48:22 +00:00
commit 6ae929debf

View file

@ -1,14 +1,14 @@
@echo off
REM =============================================================
REM
REM
REM Copyright (c) 2020 Simon Southwell. All rights reserved.
REM
REM
REM Date: 12th Sep 2020
REM
REM Script to pull latest EL-GENERIC-IP files into local
REM
REM Script to pull latest EL-GENERIC-IP files into local
REM subtree of repository.
REM
REM See https://confluence.gisapps.co.uk/display/EL/EL+Subtrees
REM See https://confluence.gisapps.co.uk/display/EL/EL+Subtrees
REM for more details
REM
REM =============================================================
@ -33,4 +33,5 @@ if not exist firmware\el_generic_ip (
echo Pulling latest subtree files from repository
git subtree pull --prefix=firmware/el_generic_ip EL-GENERIC-IP master
git remote add EL-GENERIC-IP git@hydra:GIS_Embedded_Logic/EL-GENERIC-IP.git
git subtree pull --prefix=firmware/el_generic_ip EL-GENERIC-IP master