* Bug fix.

svn path=/nixos/trunk/; revision=30219
This commit is contained in:
Eelco Dolstra 2011-11-04 02:30:59 +00:00
parent 1f9bb7706a
commit 7198c27897

@ -24,7 +24,7 @@ buildAndUploadFor() {
echo "using PV-GRUB kernel $kernel"
ami=$(ec2-register "$bucket/nixos.img.manifest.xml" -n "$bucket" -d "NixOS $system r$revision" \
--region "$region" --kernel "$kernel" | cut -f 1)
--region "$region" --kernel "$kernel" | cut -f 2)
echo "AMI ID is $ami"