From 127baa9fc39d3b0587fe0f6b5c09bd16c3d0f414 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 28 Feb 2013 12:39:40 -0500 Subject: [PATCH] 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 --- Open-ILS/src/extras/autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: " -- 2.43.2