Page 1 of 1

Error in Makefile

Posted: Fri Jan 06, 2017 10:34 am
by donmr
There seems to be a small error in the Makefile.

Line 31 was:
test -d "${dd}" || mkdir -p "${dd}"; \
Make thinks this is using a make variable "dd" which is not set.
So this error is produced:
...
test -d "" || mkdir -p ""; \
done
mkdir: cannot create directory ‘’: No such file or directory
mkdir: cannot create directory ‘’: No such file or directory
mkdir: cannot create directory ‘’: No such file or directory
mkdir: cannot create directory ‘’: No such file or directory
mkdir: cannot create directory ‘’: No such file or directory
make: *** [install] Error 1
The fix is to use another "$" to tell make to pass the string "${dd}" to the shell.
test -d "$${dd}" || mkdir -p "$${dd}"; \
Don (old Unix/Linux programmer)

Re: Error in Makefile

Posted: Fri Jan 06, 2017 10:46 am
by bll
Yes, thanks.
I will have a fixed package uploaded later today.
Brad