summaryrefslogtreecommitdiffstats
path: root/Functions/VCS_Info/Backends/VCS_INFO_detect_mtn
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-12-11 09:53:12 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-12-11 09:53:12 +0000
commitb4a2d51e57b1f50db4b9e489652daf35f1e583d0 (patch)
treeec0ce579ca82b5498ee579f415cc81d838702dd2 /Functions/VCS_Info/Backends/VCS_INFO_detect_mtn
parent26121: add -B <lines> option to calendar (diff)
downloadzsh-b4a2d51e57b1f50db4b9e489652daf35f1e583d0.tar
zsh-b4a2d51e57b1f50db4b9e489652daf35f1e583d0.tar.gz
zsh-b4a2d51e57b1f50db4b9e489652daf35f1e583d0.tar.bz2
zsh-b4a2d51e57b1f50db4b9e489652daf35f1e583d0.tar.lz
zsh-b4a2d51e57b1f50db4b9e489652daf35f1e583d0.tar.xz
zsh-b4a2d51e57b1f50db4b9e489652daf35f1e583d0.tar.zst
zsh-b4a2d51e57b1f50db4b9e489652daf35f1e583d0.zip
Frank Terbeck: 26125: add "command" style to VCS_INFO
Diffstat (limited to 'Functions/VCS_Info/Backends/VCS_INFO_detect_mtn')
-rw-r--r--Functions/VCS_Info/Backends/VCS_INFO_detect_mtn2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/VCS_Info/Backends/VCS_INFO_detect_mtn b/Functions/VCS_Info/Backends/VCS_INFO_detect_mtn
index cb0fec1bd..3f88ba2ea 100644
--- a/Functions/VCS_Info/Backends/VCS_INFO_detect_mtn
+++ b/Functions/VCS_Info/Backends/VCS_INFO_detect_mtn
@@ -6,7 +6,7 @@ setopt localoptions NO_shwordsplit
[[ $1 == '--flavours' ]] && return 1
-VCS_INFO_check_com mtn || return 1
+VCS_INFO_check_com ${vcs_comm[cmd]} || return 1
vcs_comm[detect_need_file]=revision
VCS_INFO_bydir_detect '_MTN'
return $?