Merge pull request #490 from kragniz/centos-kernel-package

Fix kpatch-build failure with srpm on centos
This commit is contained in:
Seth Jennings 2015-06-02 09:40:09 -05:00
commit a90e3a8d80
1 changed files with 1 additions and 1 deletions

View File

@ -365,7 +365,7 @@ else
clean_cache
mv "$(rpm --eval %{_builddir})"/kernel-*/linux-"$ARCHVERSION" "$SRCDIR" >> "$LOGFILE" 2>&1 || die
mv "$(rpm --eval %{_builddir})"/kernel-*/linux-"${ARCHVERSION%.*}"*"${ARCHVERSION##*.}" "$SRCDIR" >> "$LOGFILE" 2>&1 || die
cp "$SRCDIR/.config" "$OBJDIR" || die
if [[ "$ARCHVERSION" == *-* ]]; then