]> gitweb.fluxo.info Git - kvm-manager.git/commitdiff
di-maker should work when absolute paths are passed to it
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sat, 14 Mar 2015 19:41:25 +0000 (15:41 -0400)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sat, 14 Mar 2015 19:41:25 +0000 (15:41 -0400)
di-maker

index 6fa862ff49c7d592bc489b07885952180ae7f140..e5247dd112a0e6b4481aee3d22e136ca74182003 100755 (executable)
--- a/di-maker
+++ b/di-maker
@@ -106,7 +106,7 @@ $BOOTINSTRUCTIONS
 }
 EOF
 
-absoutput="$(pwd)/$output"
+absoutput="$(readlink -f "$output")"
 
 ## no longer using genisoimage with grub2:
 # genisoimage -R -input-charset utf-8 -b boot/grub/stage2_eltorito -no-emul-boot --boot-load-size 4 -boot-info-table "$WORKDIR"