File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -162,9 +162,9 @@ function remove_snapshot (){
162162# Desc: Creates a snapshot of the root container
163163# 1: name of container
164164function create_snapshot (){
165- local build=$1
165+ local build=" $1 "
166166
167- trap " { remove_snapshot $build ; exit 1; }" ERR INT
167+ trap " { remove_snapshot \" $build \" ; exit 1; }" ERR INT
168168
169169 msg2 " Create snapshot for $build ..."
170170 mkdir -p " $BUILDDIRECTORY /" {" ${build} " ," ${build} _upperdir" ," ${build} _workdir" }
@@ -277,6 +277,8 @@ function cmd_check(){
277277 SOURCE_DATE_EPOCH= " ${buildinfo[builddate]} "
278278
279279
280+ local build= " ${pkgbase} _$$ "
281+
280282 msg2 " Preparing packages"
281283 mkdir -p " ${cachedir} "
282284 mapfile -t packages < < (buildinfo -d " ${cachedir} " " ${pkg} " )
You can’t perform that action at this time.
0 commit comments