Fix so that the latest stage3 is unpacked if there are multiple tarballs

in the current directory.
This commit is contained in:
Albert Hopkins 2010-07-30 01:56:56 +00:00
parent 466d286685
commit ac0dd5fe39
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ preproot: stage3 mounts portage
stage3: chroot
if [ ! -e stage3 ] ; then \
wget -c -q -nc $(STAGE3); \
tar xjpf stage3-*.tar.bz2 -C $(CHROOT); \
tar xjpf `/bin/ls -1 stage3-*.tar.bz2|tail -n1` -C $(CHROOT); \
fi
touch stage3