[Open-scap] [PATCH 02/11] Removed space between -F option and argument in awk

Marshall Miller mmiller at tresys.com
Wed May 11 19:31:21 UTC 2011


This allows the awk command to work on Solaris
---
 tests/API/CPE/lang/test_api_cpe_lang.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/API/CPE/lang/test_api_cpe_lang.sh b/tests/API/CPE/lang/test_api_cpe_lang.sh
index 335f78b..f5afc41 100755
--- a/tests/API/CPE/lang/test_api_cpe_lang.sh
+++ b/tests/API/CPE/lang/test_api_cpe_lang.sh
@@ -38,7 +38,7 @@ function test_api_cpe_lang_import_key {
     echo $KEY_789 >> get-all.out
 
     for K in "$KEY_123" "$KEY_456" "$KEY_789"; do
-	N=`echo $K | awk -F ':' '{print $1}'`
+	N=`echo $K | awk -F':' '{print $1}'`
 	./test_api_cpe_lang --get-key $srcdir/lang.xml "UTF-8" $N > get-key.out
 	if [ $? -eq 0 ]; then
 	    if [ "`cat get-key.out`X" != "${K}X" ]; then
-- 
1.6.2.5




More information about the Open-scap-list mailing list