diff --git a/Makefile b/Makefile index a03b3f7..575ce2e 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ qemu_target ?= debian-stretch qemu_kernel = $(qemu_target).linux qemu_torrent = $(qemu_target).torrent qemu_initramfs = $(shell \ -if [ -e $(qemu_target).initramfs.dev ] && [ `date -r $(qemu_target).initramfs.dev +%s` -gt `date -r $(qemu_target).initramfs +%s` ]; then \ +if [ -e images/$(qemu_target).initramfs.dev ] && [ `date -r images/$(qemu_target).initramfs.dev +%s` -gt `date -r images/$(qemu_target).initramfs +%s` ]; then \ echo "$(qemu_target).initramfs.dev"; \ else \ echo "$(qemu_target).initramfs"; \