colrm is a perfectly good command, but isn't guaranteed to be
present on a minimal Ubuntu system. This patch replaces ti with
with cut, which is more likely to be present (including on *BSD
servers).
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
md5sum $file
fi
done
-) | md5sum | cut -f1 -d' ' | colrm 1 26 > LOCALSTATEDIR/web/eg_cache_hash
+) | md5sum | cut -f1 -d' ' | cut -b 27-32 > LOCALSTATEDIR/web/eg_cache_hash
echo
echo -n "Current Evergreen cache key: "