Browse Source

Update _update

show emu version on checkout
pull/9/head
Gorgone 6 years ago
committed by GitHub
parent
commit
2f856bf710
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      support/functions/_update

9
support/functions/_update

@ -36,10 +36,15 @@ update_emu(){
fi fi
online_revision=$(gitrevision $emuurl); online_revision=$(gitrevision $emuurl);
if [ ! $local_revision == $online_revision ]; then if [ ! $local_revision == $online_revision ]; then
echo -en " update emu_git to\n Local Revision: $online_revision\n\n"; echo -en " update emu_git to\n Local Revision: $online_revision\n";
svn -q checkout "$emuurl" "$emulocal"; svn -q checkout "$emuurl" "$emulocal";
else else
echo -en " is up to date\n Online Revision: $online_revision\n\n"; echo -en " is up to date\n Online Revision: $online_revision\n";
fi
if [ -f "$emulocal/VERSION" ];then
echo -en " EmuVersion: ";
grep '\$Version:' "$emulocal/VERSION" |cut -d " " -f 2;
echo -e "\n";
fi fi
sleep 1; sleep 1;
} }

Loading…
Cancel
Save