aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-01 10:06:30 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-01 10:06:30 +1300
commita1a9ee287d332c22f67d4d6e87d124fa879d7ec7 (patch)
tree5532602eae121a44797ee497d6e7eeb05015514e /bin
parentBump version number to 0.3.1 (diff)
downloaddotfiles-a1a9ee287d332c22f67d4d6e87d124fa879d7ec7.tar.gz
dotfiles-a1a9ee287d332c22f67d4d6e87d124fa879d7ec7.zip
Quote filename correctly in dfv(1df)
If we don't do this, we run the risk of expanding an arbitrary macro VERSION on any given system.
Diffstat (limited to 'bin')
-rw-r--r--bin/dfv.mi52
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dfv.mi5 b/bin/dfv.mi5
index 02f1721d..0dedd0cb 100644
--- a/bin/dfv.mi5
+++ b/bin/dfv.mi5
@@ -1,7 +1,7 @@
# Print dotfiles version information
cat <<'EOF'
<%
- include(VERSION)
+ include(`VERSION')
syscmd(`printf "Built on %s by %s@%s\n" "$(date)" "$(id -nu)" "$(uname -n)"')
%>
The next 1<<10 years are ours!