Skip to content

make clean fails on Ubuntu 16.04 #17

@nembery

Description

@nembery

Hi great tool!

make clean fails on Ubuntu 16.04. Appears to be variable expansion with the {,.json,.schema.json} line.

root@ubuntu-io6-28:~/libvirt-hook-qemu# make clean
rm /etc/libvirt/hooks/hooks{.json,.schema.json}
rm: cannot remove '/etc/libvirt/hooks/hooks{.json,.schema.json}': No such file or directory
Makefile:12: recipe for target 'clean' failed
make: *** [clean] Error 1

Manually expanding those results in:
rm ${LIBVIRT_HOOKS_DIR}/hooks
rm ${LIBVIRT_HOOKS_DIR}/hooks.json
rm ${LIBVIRT_HOOKS_DIR}/hooks.schema.json
and this works as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions