Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i am trying to create a .deb file that first installs the dependency that is stored in the some folder, for that i have created a shell script. My issue is executing the shell script through make file my make file format to call a shell script is like this:

$(shell PATH="$(../)" "./")

but when i do a fakeroot debian/rules clean, it throws an error:

./ 3: ./ sh: not found
./ 4: ./ make: not found
./ 5: ./ make: not found
share|improve this question
up vote 1 down vote accepted

You are setting PATH to "" you even commands in /usr/bin can't be found.

I assume you want to add .. to PATH. What you want is:

$(shell PATH="$(PATH):.." ./

Assuming you are doing something with the output of, if not then:

PATH=$(PATH):.. ./

Is all that is required.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .