typo when setting default VCSH_HOOK_D

Bug #1352280 reported by Mark Stillwell on 2014-08-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vcsh (Ubuntu)
Undecided
Unassigned
Trusty
Undecided
Unassigned

Bug Description

On trusty tahr the system install of vcsh has a typo in the line that sets the default value for VCSH_HOOK_D.

: ${VCSH_HOOK_D:=$XDH_CONFIG_HOME/vcsh/hooks-enabled}

XDH_CONFIG_HOME should clearly be XDG_CONFIG_HOME.

This results in user hooks not executing if VCSH_HOOK_D is not explicitly set by the user.

There is correct form.

Changed in vcsh (Ubuntu):
status: New → Incomplete
status: Incomplete → Invalid
Mark Stillwell (marklee) wrote :

I don't know what you mean by "there is correct form", but the bug is still present, and thus hooks do not run. The environment variable should be XDG_CONFIG_HOME, not XDH_CONFIG_HOME.

Mark Stillwell (marklee) wrote :

To clarify, the line above occurs in /usr/bin/vcsh, and it's a 2-second fix.

Changed in vcsh (Ubuntu):
status: Invalid → New
Robie Basak (racb) on 2015-02-10
Changed in vcsh (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers