/make/arduino-mk

To get this branch, use:
bzr branch http://bzr.ed.am/make/arduino-mk

« back to all changes in this revision

Viewing changes to arduino.mk

  • Committer: edam
  • Date: 2012-02-16 14:46:05 UTC
  • Revision ID: edam@waxworlds.org-20120216144605-zoo4otjohs1mrn0f
fixed test not returning 0

Show diffs side-by-side

added added

removed removed

272
272
        @test -n "$(SERIALDEV)" || { \
273
273
                echo "error: SERIALDEV could not be determined automatically." >&2; \
274
274
                exit 1; }
275
 
        @test 1 -eq $(SERIALDEVGUESS) && { \
 
275
        @test 0 -eq $(SERIALDEVGUESS) || { \
276
276
                echo "*GUESSING* at serial device:" $(SERIALDEV); \
277
277
                echo; }
278
278
        stty $(STTYFARG) $(SERIALDEV) hupcl
295
295
        @test -n `which screen` || { \
296
296
                echo "error: can't find GNU screen, you might need to install it." >&2 \
297
297
                ecit 1; }
298
 
        @test 1 -eq $(SERIALDEVGUESS) && { \
 
298
        @test 0 -eq $(SERIALDEVGUESS) || { \
299
299
                echo "*GUESSING* at serial device:" $(SERIALDEV); \
300
300
                echo; }
301
301
        screen $(SERIALDEV)