Skip to content
GitLab
Explore
Sign in
Tools
Docker
Git Rsync From OpenWRT
Compare revisions
5484734450722b45789d0cf3d3a62980ac84adcd to 52320bbfee0c99c7c583470fb3dcb2c7ec193a77
Commits on Source (2)
Update sync.sh
· a10f307c
Дмитрий Сафронов
authored
Mar 06, 2022
a10f307c
Merge branch 'zimniy-master-patch-87021' into 'master'
· 52320bbf
Дмитрий Сафронов
authored
Mar 09, 2022
Update sync.sh See merge request docker/git-rsync-from-openwrt!6
52320bbf
Hide whitespace changes
Inline
Side-by-side
sync.sh
View file @
52320bbf
...
...
@@ -32,7 +32,7 @@ if [ -n "$OPENWRT_GIT_URL" ]; then
git clone
-q
"
$OPENWRT_GIT_URL
"
repo
||
die
"Couldn't clone repo"
cd
repo
||
die
"Couldn't enter repo dir"
notify
"Enterng main loop
$(
date
-u
)
"
notify
"Enter
i
ng main loop
at
$(
date
-u
)
"
while
true
;
do
git reset
-q
--hard
||
die
"Couldn't reset repo"
git pull
-q
||
die
"Couldn't pull repo"
...
...