[Bug 268686] freebsd-update cannot handle spaces in file paths

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 29 Sep 2023 19:48:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268686

--- Comment #2 from Ed Maste <emaste@freebsd.org> ---
-               WORKDIR=$1
+               WORKDIR="$1"

This isn't necessary; spaces in $1 will be retained when assigning WORKDIR.
Same for BASEDIR=$1 and perhaps other cases in the file. Quotes are indeed
needed on e.g. [ -z "${BASEDIR}" ].

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