[arch-commits] Commit in grub/repos/core-i686 (PKGBUILD)

Allan McRae allan at archlinux.org
Tue Jun 15 01:20:44 EDT 2010


    Date: Tuesday, June 15, 2010 @ 01:20:44
  Author: allan
Revision: 82657

fix $startdir usage

Modified:
  grub/repos/core-i686/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-06-15 05:20:23 UTC (rev 82656)
+++ PKGBUILD	2010-06-15 05:20:44 UTC (rev 82657)
@@ -39,8 +39,8 @@
   cd $srcdir/$pkgname-$pkgver
 
   #set destination architecture here
-  #DESTARCH="i686"
-  DESTARCH="x86_64"
+  DESTARCH="i686"
+  #DESTARCH="x86_64"
   # optimizations break the build -- disable them
   # adding special devices to grub, patches are from fedora
   patch -Np1 -i ../special-devices.patch || return 1
@@ -73,8 +73,8 @@
 
   CFLAGS= make || return 1
   make DESTDIR=$pkgdir install || return 1
-  install -D -m644 ../menu.lst $startdir/pkg/boot/grub/menu.lst
-  install -D -m755 ../install-grub $startdir/pkg/sbin/install-grub
+  install -D -m644 ../menu.lst $pkgdir/boot/grub/menu.lst
+  install -D -m755 ../install-grub $pkgdir/sbin/install-grub
 
   if [ "$DESTARCH" = "x86_64" ]; then
     # fool makepkg into building a x86_64 package



More information about the arch-commits mailing list