From 95fa5c380baad9933e3528f8099392c7742a2b79 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 29 Sep 2012 00:08:02 -0400 Subject: Suppress output of grep in validation functions. --- diff --git a/lib/metadata/proteanos.sh b/lib/metadata/proteanos.sh index 11dd603..cc8f5b4 100644 --- a/lib/metadata/proteanos.sh +++ b/lib/metadata/proteanos.sh @@ -28,7 +28,8 @@ _ob_validate_source_name_proteanos() _obvsnpro_name="${1}" - echo "${_obvsnpro_name}" | grep -E "${_OB_NAME_RE_PROTEANOS}" + echo "${_obvsnpro_name}" | grep -E "${_OB_NAME_RE_PROTEANOS}" \ + >/dev/null 2>&1 _ob_return ${?} return ${?} @@ -40,7 +41,8 @@ _ob_validate_binary_name_proteanos() _obvbnpro_name="${1}" - echo "${_obvbnpro_name}" | grep -E "${_OB_NAME_RE_PROTEANOS}" + echo "${_obvbnpro_name}" | grep -E "${_OB_NAME_RE_PROTEANOS}" \ + >/dev/null 2>&1 _ob_return ${?} return ${?} -- cgit v0.9.1