{"action":"opened","issue":{"url":"https://api.github.com/repos/ocamllabs/ocaml-ctypes/issues/321","labels_url":"https://api.github.com/repos/ocamllabs/ocaml-ctypes/issues/321/labels{/name}","comments_url":"https://api.github.com/repos/ocamllabs/ocaml-ctypes/issues/321/comments","events_url":"https://api.github.com/repos/ocamllabs/ocaml-ctypes/issues/321/events","html_url":"https://github.com/ocamllabs/ocaml-ctypes/issues/321","id":98428274,"number":321,"title":"bashism in Makefile.tests","user":{"login":"mrvn","id":3340710,"avatar_url":"https://avatars.githubusercontent.com/u/3340710?v=3","gravatar_id":"","url":"https://api.github.com/users/mrvn","html_url":"https://github.com/mrvn","followers_url":"https://api.github.com/users/mrvn/followers","following_url":"https://api.github.com/users/mrvn/following{/other_user}","gists_url":"https://api.github.com/users/mrvn/gists{/gist_id}","starred_url":"https://api.github.com/users/mrvn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrvn/subscriptions","organizations_url":"https://api.github.com/users/mrvn/orgs","repos_url":"https://api.github.com/users/mrvn/repos","events_url":"https://api.github.com/users/mrvn/events{/privacy}","received_events_url":"https://api.github.com/users/mrvn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-31T16:46:23Z","updated_at":"2015-07-31T16:46:23Z","closed_at":null,"body":"PWD is a bash thing and will be unset with /bin/sh not being bash, CURDIR comes from make.\r\n(sorry, didn't want to fork and make a pull request for a one line patch)\r\n\r\n--- ocaml-ctypes-0.4.1.orig/Makefile.tests\t2015-07-31 18:41:45.000000000 +0200\r\n+++ ocaml-ctypes-0.4.1/Makefile.tests\t2015-07-31 18:42:31.628621540 +0200\r\n@@ -2,7 +2,7 @@\r\n \r\n VPATH += tests\r\n \r\n-CFLAGS += -I $(PWD)/src/ctypes -I $(PWD)/tests\r\n+CFLAGS += -I $(CURDIR)/src/ctypes -I $(CURDIR)/tests\r\n \r\n # tests-common subproject\r\n tests-common.dir = tests/tests-common\r\n"}}