diff options
author | Case Duckworth | 2023-01-06 16:47:13 -0600 |
---|---|---|
committer | Case Duckworth | 2023-01-06 16:47:13 -0600 |
commit | 755fa899572ad95c446cef393823465874cb3a42 (patch) | |
tree | 10b66e37c227d83ed9ec24d6f07ff1a79fadfa55 | |
parent | Actually fix the --> bug (diff) | |
download | vienna-755fa899572ad95c446cef393823465874cb3a42.tar.gz vienna-755fa899572ad95c446cef393823465874cb3a42.zip |
Properly log configuration variables
-rwxr-xr-x | vienna | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vienna b/vienna index a624538..f8d2d31 100755 --- a/vienna +++ b/vienna | |||
@@ -72,10 +72,6 @@ configure() { | |||
72 | *) exit 1 ;; | 72 | *) exit 1 ;; |
73 | esac | 73 | esac |
74 | done | 74 | done |
75 | ## Log configuration variables | ||
76 | log config "domain: $DOMAIN" | ||
77 | log config "workdir: $WORKD" | ||
78 | log config "output: $OUTD" | ||
79 | ## Initialize state | 75 | ## Initialize state |
80 | FILE= | 76 | FILE= |
81 | ## Cleanup after we're done | 77 | ## Cleanup after we're done |
@@ -105,6 +101,10 @@ main() { | |||
105 | log "Can't find configuration \`$CONFIG'." | 101 | log "Can't find configuration \`$CONFIG'." |
106 | exit 2 | 102 | exit 2 |
107 | fi | 103 | fi |
104 | ## Log configuration variables | ||
105 | log config "domain: $DOMAIN" | ||
106 | log config "workdir: $WORKD" | ||
107 | log config "output: $OUTD" | ||
108 | ## Plugins | 108 | ## Plugins |
109 | # Plugins are .*.sh files in build directory. They're sourced here. | 109 | # Plugins are .*.sh files in build directory. They're sourced here. |
110 | for plugin in ./.*.sh; do | 110 | for plugin in ./.*.sh; do |