diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-10-26 20:17:56 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-10-26 20:17:56 +0200 |
commit | 0d378e905e4df6266d9fc9243e7ed735e12d839b (patch) | |
tree | 588fa45dabe85b0f58f9993928db9bb1812434d6 /rc/bin/inst/partdisk | |
parent | 744dbd6bb8532d6add6b00a16a794fd037caadbf (diff) | |
download | plan9front-0d378e905e4df6266d9fc9243e7ed735e12d839b.tar.xz |
inst: cleanup installer making it not rely on path containing .
always explicitely execute installer modules with ./name instead
of relying that the path contians the dot.
Diffstat (limited to 'rc/bin/inst/partdisk')
-rwxr-xr-x | rc/bin/inst/partdisk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rc/bin/inst/partdisk b/rc/bin/inst/partdisk index 35678a3c4..2604965c1 100755 --- a/rc/bin/inst/partdisk +++ b/rc/bin/inst/partdisk @@ -31,7 +31,7 @@ case go prompt $default 'Disk to partition' $disks disk=$rd - if(! hasmbr /dev/$disk/data) { + if(! ./hasmbr /dev/$disk/data) { echo 'The disk you selected HAS NO master boot record on its first sector.' echo '(Perhaps it is a completely blank disk.)' echo 'You need a master boot record to use the disk.' @@ -63,7 +63,7 @@ case checkdone mbrandplan9=0 disks=`{ls /dev/sd*/plan9 >[2]/dev/null | sed 's!/dev/(sd.*)/plan9!\1!'} for(disk in $disks) { - if(hasmbr /dev/$disk/data) + if(./hasmbr /dev/$disk/data) mbrandplan9=1 } if(~ $mbrandplan9 0){ |