pebble-sdk: use full path of executable
Closes Homebrew/homebrew#29411. Signed-off-by: Adam Vandenberg <flangy@gmail.com>master
parent
7bef6fd13f
commit
ae610cdd60
|
@ -96,12 +96,12 @@ class PebbleSdk < Formula
|
|||
end
|
||||
|
||||
test do
|
||||
system 'pebble', 'new-project', 'test'
|
||||
system bin/'pebble', 'new-project', 'test'
|
||||
cd 'test' do
|
||||
# We have to remove the default /usr/local/include from the CPATH
|
||||
# because the toolchain has -Werror=poison-system-directories set
|
||||
ENV['CPATH'] = ''
|
||||
system 'pebble', 'build'
|
||||
system bin/'pebble', 'build'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue