mirror of
https://github.com/dynup/kpatch
synced 2025-03-25 04:16:39 +00:00
Merge pull request #619 from jpoimboe/kpatch-build-remove-git-dir
kpatch-build: remove ~/.kpatch/src/.git dir on Fedora
This commit is contained in:
commit
ab012ab5d2
@ -394,6 +394,7 @@ else
|
||||
|
||||
mv "$RPMTOPDIR"/BUILD/kernel-*/linux-"${ARCHVERSION%.*}"*"${ARCHVERSION##*.}" "$SRCDIR" >> "$LOGFILE" 2>&1 || die
|
||||
rm -rf "$RPMTOPDIR"
|
||||
rm -rf "$SRCDIR/.git"
|
||||
|
||||
cp "$SRCDIR/.config" "$OBJDIR" || die
|
||||
if [[ "$ARCHVERSION" == *-* ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user