From 9bc611b43342c19849f19d023af6de222888599d Mon Sep 17 00:00:00 2001 From: "kate.ward@forestent.com" Date: Wed, 27 Apr 2011 22:32:13 +0000 Subject: [PATCH] fixed bug using FLAGS under Solaris --- bin/gen_test_results.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/gen_test_results.sh b/bin/gen_test_results.sh index edf65f8..dc825ac 100755 --- a/bin/gen_test_results.sh +++ b/bin/gen_test_results.sh @@ -38,7 +38,7 @@ DEFINE_boolean force false 'force overwrite' f DEFINE_string output_dir "`pwd`" 'output dir' d DEFINE_string output_file "${os_name}-${os_version}.txt" 'output file' o DEFINE_string suite 'shunit2_test.sh' 'unit test suite' s -FLAGS "$@" || exit $?; shift ${FLAGS_ARGC} +FLAGS "${@:-}" || exit $?; shift ${FLAGS_ARGC} # determine output filename output="${FLAGS_output_dir:+${FLAGS_output_dir}/}${FLAGS_output_file}"