summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorKyle McMartin <kyle@redhat.com>2011-04-28 16:22:58 -0400
committerKyle McMartin <kyle@redhat.com>2011-04-28 16:22:58 -0400
commit0ca2d8f721167219d0177ebbccc5a590ae5b7d0f (patch)
treeb9acbd8a1086b57df439a04589ff8451120b1907 /scripts
parent9541e8e9628d0b0b0786879687395d33cc367922 (diff)
downloadkernel-0ca2d8f721167219d0177ebbccc5a590ae5b7d0f.tar.gz
kernel-0ca2d8f721167219d0177ebbccc5a590ae5b7d0f.tar.xz
kernel-0ca2d8f721167219d0177ebbccc5a590ae5b7d0f.zip
update to 2.6.39-rc5-git1
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/rebase.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/scripts/rebase.sh b/scripts/rebase.sh
index 6b09fe9e9..e9b50cf40 100755
--- a/scripts/rebase.sh
+++ b/scripts/rebase.sh
@@ -124,12 +124,7 @@ fi
if [ "$OLDRC" != "$NEWRC" ]; then
echo "Different rc. Rebasing from $OLDRC to $NEWRC"
perl -p -i -e 's/^%define\ rcrev.*/\%define\ rcrev\ $ENV{"NEWRC"}/' kernel.spec
- perl -p -i -e 's/$ENV{OLDBASE}-rc$ENV{OLDRC}.bz2/$ENV{NEWBASE}-rc$ENV{NEWRC}.bz2/' .gitignore
grep -v patch-2.6.$OLDBASE-rc$OLDRC.bz2 sources > .sources.tmp; mv .sources.tmp sources
- grep -v patch-2.6.$OLDBASE-rc$OLDRC-git$OLDGIT.bz2 .gitignore >.gitignore.tmp ; mv .gitignore.tmp .gitignore
- if [ `grep -c patch-2.6.$NEWBASE-rc$NEWRC.bz2 sources` -eq 0 ]; then
- echo patch-2.6.$NEWBASE-rc$NEWRC.bz2 >> .gitignore
- fi
rm -f patch-2.6.$OLDBASE-rc$OLDRC.bz2
curl -O $KORG26TESTING/patch-2.6.$NEWBASE-rc$NEWRC.bz2
@@ -151,12 +146,7 @@ if [ "$OLDGIT" != "$NEWGIT" ]; then
fi
perl -p -i -e 's/^%define\ gitrev.*/\%define\ gitrev\ $ENV{"NEWGIT"}/' kernel.spec
if [ "$OLDGIT" -ne 0 ]; then
- if [ "$NEWGIT" -ne 0 ]; then
- perl -p -i -e 's/$ENV{OLD}/$ENV{NEW}/' .gitignore
- fi
grep -v patch-$OLD.bz2 sources > .sources.tmp; mv .sources.tmp sources
- else
- echo patch-$NEW.bz2 >> .gitignore
fi
if [ "$NEWGIT" -ne 0 ]; then