This repository is a mirror of https://git.openwrt.org/openwrt/openwrt.git It is for reference only and is not active for check-ins. We will continue to accept Pull Requests here. They will be merged via staging trees then into openwrt.git.
Other
19.87k
stars
10.34k
forks
source link
FS#2773 - imagebuilder doesn't work if pwd contains spaces #7575
Steps to reproduce
% mkdir "/tmp/a b"
% cd /tmp/a\ b
% wget https://downloads.openwrt.org/releases/19.07.0/targets/ar71xx/mikrotik/openwrt-imagebuilder-19.07.0-ar71xx-mikrotik.Linux-x86_64.tar.xz
% tar xf openwrt-imagebuilder-19.07.0-ar71xx-mikrotik.Linux-x86_64.tar.xz
% cd openwrt-imagebuilder-19.07.0-ar71xx-mikrotik.Linux-x86_64
% make info
bash: /tmp/a: No such file or directory
Makefile:72: b/openwrt-imagebuilder-19.07.0-ar71xx-mikrotik.Linux-x86_64/include/target.mk: No such file or directory
make: *** No rule to make target 'b/openwrt-imagebuilder-19.07.0-ar71xx-mikrotik.Linux-x86_64/include/target.mk'. Stop.
zsh: exit 2 make info
sergio:
% mkdir "/tmp/a b" % cd /tmp/a\ b % wget https://downloads.openwrt.org/releases/19.07.0/targets/ar71xx/mikrotik/openwrt-imagebuilder-19.07.0-ar71xx-mikrotik.Linux-x86_64.tar.xz % tar xf openwrt-imagebuilder-19.07.0-ar71xx-mikrotik.Linux-x86_64.tar.xz % cd openwrt-imagebuilder-19.07.0-ar71xx-mikrotik.Linux-x86_64 % make info
bash: /tmp/a: No such file or directory Makefile:72: b/openwrt-imagebuilder-19.07.0-ar71xx-mikrotik.Linux-x86_64/include/target.mk: No such file or directory make: *** No rule to make target 'b/openwrt-imagebuilder-19.07.0-ar71xx-mikrotik.Linux-x86_64/include/target.mk'. Stop. zsh: exit 2 make info