From 3876e4f11cd9c76b8afe8e513b84614e9c5c858e Mon Sep 17 00:00:00 2001 From: dteske Date: Tue, 7 May 2013 04:40:57 +0000 Subject: Remove unused variables. --- usr.sbin/bsdconfig/dot/dot | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'usr.sbin') diff --git a/usr.sbin/bsdconfig/dot/dot b/usr.sbin/bsdconfig/dot/dot index cbe9ad5..f536c07 100755 --- a/usr.sbin/bsdconfig/dot/dot +++ b/usr.sbin/bsdconfig/dot/dot @@ -260,8 +260,7 @@ if [ "$SHOW_INCLUDES" ]; then include_file_list= for file in $file_list; do include_file_list="$include_file_list $( - awk -v file="$file" -v item="${file%%/*}" \ - "$print_includes_awk" $file + awk "$print_includes_awk" $file )" done @@ -279,8 +278,7 @@ if [ "$SHOW_INCLUDES" ]; then # for file in $include_file_list; do include_file_list="$include_file_list $( - awk -v file="$file" -v item="${file%%/*}" \ - "$print_includes_awk" $BSDCFG_SHARE/$file + awk "$print_includes_awk" $BSDCFG_SHARE/$file )" done -- cgit v1.1