Package: sensible-utils
Version: 0.0.12
Severity: normal
Dear Maintainer,
A user reported to me a problem when commiting something in mercurial.
After some investigation, the issue comes from the fact that he has a
space in its $HOME variable (don't ask me why :P). Thus those lines:
# Ensure that $HOME/.selected_editor is writeable
touch $HOME/.selected_editor || exit 1
fail because the path is not quoted.
I think that surrounding '$HOME/.selected_editor' with double quotes
will solve the issue (there might be other issues of the same kind in
the script).
Thank you.
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.18.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-- no debconf information