Skip to content

Instantly share code, notes, and snippets.

@ceremcem ceremcem/Makefile
Last active Oct 23, 2017

Embed
What would you like to do?
oneshell testing
.ONESHELL:
SHELL = /bin/bash
.SHELLFLAGS = -e
test:
cd /tmp
X=$(pwd)
echo "here is $$X"
@ceremcem

This comment has been minimized.

Copy link
Owner Author

ceremcem commented Mar 19, 2016

This script produces an error:

$ make test 
cd /tmp
X=$(pwd)
echo "here is $X"
make: /bin/bash : Command not found
Makefile:5: recipe for target 'test' failed
make: *** [test] Error 127
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.