commit a6092c90e099d447ae6a7464bcad5443252cfe17
parent 330cb9da36651b701085ad53ae75ff296d02202a
Author: Jan Pobříslo <ccx@te2000.cz>
Date: Fri, 1 Dec 2023 17:37:49 +0100
Suggest more portable command invocation.
Suggest running awk directly for list-dependencies-from-patches.awk so
it doesn't rely on absolute path in shebang but uses user's $PATH.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/list-dependencies-from-patches.awk b/tools/list-dependencies-from-patches.awk
@@ -2,7 +2,7 @@
# Simple tool to list dependencies in form suitable for tsort utility.
# Run this script like this:
-# /some/path/list-dependencies-from-patches.awk *.sql | tsort | tac
+# awk -f /some/path/list-dependencies-from-patches.awk *.sql | tsort | tac
# To get patches in order that satisfies dependencies while loading them.
tolower($0) ~ /^[[:space:]]*select[[:space:]]+_v.register_patch\(/ {