move constants

This commit is contained in:
Thomas Levine 2012-10-11 02:34:20 -04:00
parent a5176e1262
commit 9c24cc2184

7
urchin
View File

@ -1,8 +1,5 @@
#!/bin/bash #!/bin/bash
stdout_file=/tmp/urchin_stdout
logfile=$(readlink -f "$1/.urchin.log")
indent() { indent() {
level="$1" level="$1"
printf "%$((2 * ${level}))s" printf "%$((2 * ${level}))s"
@ -120,6 +117,10 @@ do
shift shift
done done
# Constants
logfile=$(readlink -f "$1/.urchin.log")
stdout_file=/tmp/urchin_stdout
# Help first # Help first
$HELP && urchin_help $HELP && urchin_help