argh, substitute the right way

svn path=/nixpkgs/trunk/; revision=4497
This commit is contained in:
Armijn Hemel 2006-01-05 18:18:41 +00:00
parent 057ef85775
commit f3ee45412f

View File

@ -31,7 +31,7 @@ diff -ruN hotplug-2004_03_29/etc/hotplug/hotplug.functions hotplug-2004_03_29.ne
PATH=/bin:/sbin:/usr/sbin:/usr/bin
-KERNEL=`uname -r`
+KERNEL=`@coreutils/bin/uname -r`
+KERNEL=`@coreutils@/bin/uname -r`
MODULE_DIR=/lib/modules/$KERNEL
HOTPLUG_DIR=/etc/hotplug
@ -55,7 +55,7 @@ diff -ruN hotplug-2004_03_29/etc/hotplug/pci.rc hotplug-2004_03_29.new/etc/hotpl
;;
status)
- echo $"PCI Status for kernel: " `uname -srm`
+ echo $"PCI Status for kernel: " `@coreutils/bin/uname -srm`
+ echo $"PCI Status for kernel: " `@coreutils@/bin/uname -srm`
echo ''
if [ -f /proc/bus/pci/devices ]; then