From db60ec5f224b9818da40599af683f18e2a22b5e5 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 29 Sep 2012 15:34:14 -0400 Subject: Fix parameter in ob_get_system_{arch,plat}(). --- (limited to 'lib') diff --git a/lib/metadata.sh b/lib/metadata.sh index 266e13a..28a984b 100644 --- a/lib/metadata.sh +++ b/lib/metadata.sh @@ -113,7 +113,7 @@ ob_get_system_arch() { _ob_local - if [ ${?} -gt 0 ]; then + if [ ${#} -gt 0 ]; then _ob_return 125 return ${?} fi @@ -128,7 +128,7 @@ ob_get_system_plat() { _ob_local - if [ ${?} -gt 0 ]; then + if [ ${#} -gt 0 ]; then _ob_return 125 return ${?} fi -- cgit v0.9.1