From: Galen Charlton Date: Thu, 28 Feb 2013 17:39:40 +0000 (-0500) Subject: LP#1136084: drop silent dependency on 'bsdmainutils' Debian/Ubuntu package X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=127baa9fc39d3b0587fe0f6b5c09bd16c3d0f414;p=evergreen%2Fequinox.git LP#1136084: drop silent dependency on 'bsdmainutils' Debian/Ubuntu package 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 Signed-off-by: Jason Stephenson --- diff --git a/Open-ILS/src/extras/autogen.sh b/Open-ILS/src/extras/autogen.sh index 0311bbeeee..acecbbaac7 100755 --- a/Open-ILS/src/extras/autogen.sh +++ b/Open-ILS/src/extras/autogen.sh @@ -167,7 +167,7 @@ done; 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: "