typo when setting default VCSH_HOOK_D

Bug #1352280 reported by Mark Stillwell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vcsh (Ubuntu)
Fix Released
Undecided
Unassigned
Trusty
New
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.

Revision history for this message
Filip Sohajek (filip-sohajek-deactivatedaccount) wrote :

There is correct form.

Changed in vcsh (Ubuntu):
status: New → Incomplete
status: Incomplete → Invalid
Revision history for this message
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.

Revision history for this message
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)
Changed in vcsh (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers