From 3b2fffe17bba071263a7efcd56aa7ee306ff7185 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 11 Nov 2014 21:44:29 -0500 Subject: installers/pc: Update own name in param expansions --- (limited to 'installers') diff --git a/installers/pc.sh b/installers/pc.sh index 68c6259..044e3af 100755 --- a/installers/pc.sh +++ b/installers/pc.sh @@ -62,16 +62,16 @@ main() printf '\n======================\n\n' mountpoint="$(mount_fs "${dev}")" - "${0%installers/pc.sh}src/prokit" install \ + "${0%installers/pc}src/prokit" install \ -a "${host_arch}" -p "${host_plat}" \ ${mirror:+-m} ${mirror} "${mountpoint}" - "${0%installers/pc.sh}src/prokit" opkg install lilo + "${0%installers/pc}src/prokit" opkg install lilo read b4 b3 b2 b1 <<-EOF $(od -An -tx1 -v -j 440 -N 4 "/dev/${dev}") EOF # This ln command won't be needed once lilo 24.1-1 is uploaded. ln "${mountpoint}/boot/vmlinuz" "${mountpoint}/boot/vmlinuz.old" - "${0%installers/pc.sh}src/prokit" shell \ + "${0%installers/pc}src/prokit" shell \ install-lilo "/dev/${dev}" "PARTUUID=${b1}${b2}${b3}${b4}-01" umount_fs "${mountpoint}" } -- cgit v0.9.1