[Bug 251987] multimedia/get_iplayer: rc.d script emits error message even when disabled

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 22 18:15:33 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251987

--- Comment #4 from Niels Bakker <niels=freebsd at bakker.net> ---
It was more about the single quotes:

$ start_precmd="export foo='$HOME'"
$ $start_precmd
$ echo $foo
'/home/niels'
$ pwd
/home/niels
$ cd "$foo"
cd: '/home/niels': No such file or directory
$ 

If rc does an eval $start_precmd instead of merely invoking it like above, this
may not be needed and your version may work as expected (or as I didn't expect
it to work).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list