Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 2020 18:15:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 251987] multimedia/get_iplayer: rc.d script emits error message even when disabled
Message-ID:  <bug-251987-7788-mxmyCFhWTk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-251987-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-251987-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251987

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

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

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 exp=
ect
it to work).

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251987-7788-mxmyCFhWTk>