File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -199,17 +199,18 @@ patch_osbuild() {
199199 # code on the system first:
200200 rmdir /usr/lib/osbuild/osbuild
201201 python_lib_dir=$( ls -d /usr/lib/python* )
202- mv ${python_lib_dir} /site-packages/osbuild /usr/lib/osbuild/
202+ mv " ${python_lib_dir} /site-packages/osbuild" /usr/lib/osbuild/
203203 mkdir -p /usr/lib/osbuild/tools
204204 mv /usr/bin/osbuild-mpp /usr/lib/osbuild/tools/
205205 # Now all the software is under the /usr/lib/osbuild dir and we can patch
206+ # shellcheck disable=SC2002
206207 cat \
207208 /usr/lib/coreos-assembler/0001-stages-mkfs.xfs-support-setting-agcount.patch \
208209 | patch -d /usr/lib/osbuild -p1
209210 # And then move the files back; supermin appliance creation will need it back
210211 # in the places delivered by the RPM.
211212 mv /usr/lib/osbuild/tools/osbuild-mpp /usr/bin/osbuild-mpp
212- mv /usr/lib/osbuild/osbuild ${python_lib_dir} /site-packages/osbuild
213+ mv /usr/lib/osbuild/osbuild " ${python_lib_dir} /site-packages/osbuild"
213214 mkdir -p /usr/lib/osbuild/osbuild
214215}
215216
You can’t perform that action at this time.
0 commit comments