Christos Nouskas avatar Christos Nouskas committed 139229a

Fix yet another sed tab sneak-in.

Comments (0)

Files changed (1)

 pkgname=('linux-pf')
 true && pkgname=('linux-pf' 'linux-pf-headers')
 pkgver=${_basekernel}.${_pfrel}
-pkgrel=3
+pkgrel=2
 arch=('i686' 'x86_64')
 url="http://pf.natalenko.name/"
 license=('GPL2')
   esac
   cp -f .config ${startdir}/config.local
   CPU=`egrep --colour=never "MK8=y|MCORE2=y|MPSC=y|MATOM=y|MPENTIUMII=y|MPENTIUMIII=y|MPENTIUMM=y|MPENTIUM4=y|\
-  MK7=y|CONFIG_GENERIC_CPU=y|M686=y|MBARCELONA=y|MBOBCAT=y|MBULLDOZER=y|MPILEDRIVER=y|\
-  MCOREI7=y|MCOREI7AVX=y|MCOREAVXI=y|MCOREAVX2=y" ./.config`
+MK7=y|CONFIG_GENERIC_CPU=y|M686=y|MBARCELONA=y|MBOBCAT=y|MBULLDOZER=y|MPILEDRIVER=y|\
+MCOREI7=y|MCOREI7AVX=y|MCOREAVXI=y|MCOREAVX2=y" ./.config`
   CPU=`sed -e "s/CONFIG_M\(.*\)=y/\1/" <<<$CPU`
   CPU=`sed -e "s/CONFIG_GENERIC_CPU=y/GENERIC/" <<<$CPU`
   CPU=`sed -e "s/^686$/GENERIC/" <<<$CPU`
+  cp -f .config ${startdir}/config.$CPU-$CARCH
   CPU=`sed -e "s/BARCELONA/K8/;s/BOBCAT/K8/;s/BULLDOZER/K8/;s/PILEDRIVER/K8/" <<<$CPU`
   CPU=`sed -e "s/COREAVX2/CORE2/;s/COREAVXI/CORE2/;s/COREI7AVX/CORE2/;s/COREI7/CORE2/" <<<$CPU`
-  cp -f .config ${startdir}/config.$CPU-$CARCH
 
   # Give option to rename package according to CPU
   echo
     echo
     msg "Hit <G>     :  to create a generic package named linux-pf"
     msg "Hit <ENTER> :  to create a package named after the selected CPU"
-    msg "               (linux-pf-${lcpu} - recommended default)"
+    echo "                   (linux-pf-${lcpu} - recommended default)"
     echo
     msg "This option affects ONLY the package name. Whether or not the"
     msg "kernel is optimized was determined at the previous config step."
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.