From 9c24cc218430a69bc4009df5a83fe38faa030aee Mon Sep 17 00:00:00 2001 From: Thomas Levine Date: Thu, 11 Oct 2012 02:34:20 -0400 Subject: [PATCH] move constants --- urchin | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/urchin b/urchin index df00772..72df3a5 100755 --- a/urchin +++ b/urchin @@ -1,8 +1,5 @@ #!/bin/bash -stdout_file=/tmp/urchin_stdout -logfile=$(readlink -f "$1/.urchin.log") - indent() { level="$1" printf "%$((2 * ${level}))s" @@ -120,6 +117,10 @@ do shift done +# Constants +logfile=$(readlink -f "$1/.urchin.log") +stdout_file=/tmp/urchin_stdout + # Help first $HELP && urchin_help