Red Hat Bugzilla – Bug 617436
guestfish: fails to tilde expand '~' when the $HOME env is unset
Last modified: 2011-04-12 13:33:36 EDT
Description of problem:
When the environment variable $HOME is unset, bash can still expand ~ to current user's home path. But guestfish cannot.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
$ unset HOME
$ echo ~
$ guestfish <<EOF
It would be nice to try expanding ~ from the host's passwd file when HOME is unset.
Fixed upstream in commit