base-files: functions.sh: prepend() always adds separator
authorPhilip Prindeville <philipp@redfish-solutions.com>
Mon, 1 Jan 2024 22:37:34 +0000 (15:37 -0700)
committerPhilip Prindeville <philipp@redfish-solutions.com>
Mon, 15 Jan 2024 17:41:09 +0000 (10:41 -0700)
commit95157dde046058f745437a37a35d8136c8c84608
treecbeb235f65271903db75b2f8c2cd8a0ca3ab258d
parent5798e12e4a23abf71c8cf74e6f3565fe64c8da07
base-files: functions.sh: prepend() always adds separator

It shouldn't gate on the value, since the value will ostensibly
always be set; instead it should depend on the variable being
prepended to being non-empty.

Fixes #14403

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
package/base-files/files/lib/functions.sh