From 0f86778d79a4217624f001b9f55923c3f99a0dac Mon Sep 17 00:00:00 2001 From: Thomas Levine <_@thomaslevine.com> Date: Wed, 27 Jan 2016 00:50:55 +0000 Subject: [PATCH] convert indents to comments --- urchin | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/urchin b/urchin index 1ba0638..b366fc9 100755 --- a/urchin +++ b/urchin @@ -31,8 +31,14 @@ recurse() { if [ -d "$potential_test" ] then ( - indent $indent_level - echo " ${potential_test}" + if $tap_format; then + indent $indent_level | sed 's/ /#/g' + echo "# ${potential_test}" + else + indent $indent_level + echo " ${potential_test}" + fi + cd -- "$potential_test" [ -f setup_dir ] && [ -x setup_dir ] && ./setup_dir >> "$stdout_file"