diff options
author | kate.ward <kate.ward@forestent.com> | 2013-01-01 22:03:28 +0000 |
---|---|---|
committer | kate.ward <kate.ward@forestent.com> | 2013-01-01 22:03:28 +0000 |
commit | 26aabaeefc4739da49d948823f785c3b93f68202 (patch) | |
tree | 4957361e4b18c2146f0b94a09704dc9ddf48909c /source | |
parent | 4ae73d81dbe35e1d6e7d5f6a9b0fbe8fbd59b49f (diff) | |
download | shflags-26aabaeefc4739da49d948823f785c3b93f68202.tar.gz |
replaced obsolete FLAGS_ARGC usage with FLAGS_ARGV
Diffstat (limited to 'source')
-rwxr-xr-x | source/1.0/bin/gen_test_results.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/1.0/bin/gen_test_results.sh b/source/1.0/bin/gen_test_results.sh index f531e0f..b0650d8 100755 --- a/source/1.0/bin/gen_test_results.sh +++ b/source/1.0/bin/gen_test_results.sh @@ -43,7 +43,8 @@ os_version=`versions_osVersion` 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 -FLAGS "${@:-}" || exit $?; shift ${FLAGS_ARGC} +FLAGS "${@:-}" || exit $? +eval set -- "${FLAGS_ARGV}" # determine output filename output="${FLAGS_output_dir:+${FLAGS_output_dir}/}${FLAGS_output_file}" |