diff options
Diffstat (limited to 'schwa.awk')
-rwxr-xr-x | schwa.awk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/schwa.awk b/schwa.awk index 946a2cf..cdc558e 100755 --- a/schwa.awk +++ b/schwa.awk | |||
@@ -14,6 +14,8 @@ BEGIN { | |||
14 | else TMPLV["CLONE"] = "" | 14 | else TMPLV["CLONE"] = "" |
15 | if (desc) TMPLV["DESCRIPTION"] = "<p class=\"desc\">" desc "</p>" | 15 | if (desc) TMPLV["DESCRIPTION"] = "<p class=\"desc\">" desc "</p>" |
16 | else TMPLV["DESCRIPTION"] = "" | 16 | else TMPLV["DESCRIPTION"] = "" |
17 | if (root) TMPLV["ROOT"] = root | ||
18 | else TMPLV["ROOT"] = "/" | ||
17 | "pwd" | getline TMPLV["DIRECTORY"]; close("pwd") | 19 | "pwd" | getline TMPLV["DIRECTORY"]; close("pwd") |
18 | TMPLV["DIRECTORY"] = outfn(TMPLV["DIRECTORY"], 3) | 20 | TMPLV["DIRECTORY"] = outfn(TMPLV["DIRECTORY"], 3) |
19 | } | 21 | } |