move git init around so it works

This commit is contained in:
Dave Airlie 2012-03-21 09:28:41 +00:00
parent 398e9b079b
commit 329fb5ac35

View File

@ -28,11 +28,11 @@ operate.
%prep %prep
%setup -q -n linux-firmware-%{checkout} %setup -q -n linux-firmware-%{checkout}
git init .
if [ -z "$GIT_COMMITTER_NAME" ]; then if [ -z "$GIT_COMMITTER_NAME" ]; then
git config user.email "nobody@fedoraproject.org" git config user.email "nobody@fedoraproject.org"
git config user.name "Fedora X Ninjas" git config user.name "Fedora X Ninjas"
fi fi
git init .
git add . git add .
git commit --author="builder@redhat.com" -m init . git commit --author="builder@redhat.com" -m init .
git am %{PATCH1} git am %{PATCH1}