mirror of
https://github.com/dynup/kpatch
synced 2024-12-15 01:44:32 +00:00
fixup review comments
Signed-off-by: Seth Jennings <sjenning@redhat.com>
This commit is contained in:
parent
9a2f8c5c44
commit
5321b21aa0
@ -79,6 +79,7 @@ cleanup() {
|
||||
|
||||
clean_cache() {
|
||||
[[ -z $USERSRCDIR ]] && rm -rf "$SRCDIR"
|
||||
rm -rf "$OBJDIR" "$VERSIONFILE"
|
||||
mkdir -p "$OBJDIR"
|
||||
}
|
||||
|
||||
@ -416,7 +417,6 @@ done < "$TEMPDIR/patched_build.log"
|
||||
|
||||
[[ ! -s "$TEMPDIR/changed_objs" ]] && die "no changed objects were detected"
|
||||
|
||||
echo "Copying changed objects"
|
||||
mkdir "$TEMPDIR/patched"
|
||||
for i in $(cat $TEMPDIR/changed_objs); do
|
||||
mkdir -p "$TEMPDIR/patched/$(dirname $i)"
|
||||
|
Loading…
Reference in New Issue
Block a user