Results 1 to 1 of 1
hello,
I'm trying to compile an opensource code. When I execute the main Makefile I encounter different errors, I've discovered that their source is is a script named buildFS which ...
- 09-25-2007 #1Just Joined!
- Join Date
- Sep 2007
- Posts
- 2
lost of variables when calling script from Makefile
hello,
I'm trying to compile an opensource code. When I execute the main Makefile I encounter different errors, I've discovered that their source is is a script named buildFS which is called by the Makefile like this
the problem is that the variables which were defined and exported in the makefile are not seen in the scritp. By the other hand if I take away the sudo command it does see the variables but I can't do that because then I would need to calle the makefile from root.Code:sudo --command="cd $(TARGETS_DIR); ./buildFS"
does anybody know why this happens?


Reply With Quote