aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2015-03-14 15:41:25 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2015-03-14 15:41:25 -0400
commit68a87321df98baff8a2e14a4692bfe1175e6b66c (patch)
tree2d8080cca38d6ec0ef15fcb0bbc0f3d767a9a888
parent93bed33f0d3d8f4461fa753d6ca84b13c11b9851 (diff)
downloadkvm-manager-68a87321df98baff8a2e14a4692bfe1175e6b66c.tar.gz
kvm-manager-68a87321df98baff8a2e14a4692bfe1175e6b66c.tar.bz2
di-maker should work when absolute paths are passed to it
-rwxr-xr-xdi-maker2
1 files changed, 1 insertions, 1 deletions
diff --git a/di-maker b/di-maker
index 6fa862f..e5247dd 100755
--- 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"