pebble-sdk: use full path of executable

Closes Homebrew/homebrew#29411.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Mike Naberezny 2014-05-19 18:32:28 -07:00 committed by Adam Vandenberg
parent 7bef6fd13f
commit ae610cdd60
1 changed files with 2 additions and 2 deletions

View File

@ -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