if [ -d /tmp/immudex-testing ]; then
$(cd /tmp/immudex-testing && git pull -q);
else
- git clone -q --depth=1 https://git.morketsmerke.org/git/immudex-testing /tmp/immudex-testing;
+ git clone -q https://git.morketsmerke.org/git/immudex-testing /tmp/immudex-testing;
fi
latestVersion=$(cd /tmp/immudex-testing && git log --pretty=oneline | cut -d " " -f 1);
if [ "$1" ] && [ "$1" == "--print" ]; then
- echo "$(cd /tmp/immudex-testing && git log $latestVersion)";
+ echo "$(cd /tmp/immudex-testing && git log ${localVersion}..${latestVersion})";
fi
if [ "$localVersion" = "$latestVersion" ]; then
return 0;