Skip to content

Commit

Permalink
Don't run the program if it doesn't compile.
Browse files Browse the repository at this point in the history
  • Loading branch information
stamourv committed Oct 23, 2011
1 parent f3c1106 commit b43fe4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions p
Expand Up @@ -7,6 +7,6 @@

(if (= (vector-length (current-command-line-arguments)) 1)
(let ([file (vector-ref (current-command-line-arguments) 0)])
(void (system* "picobit" (path-replace-suffix file ".scm"))
(system* "picobit-vm" (path-replace-suffix file ".hex"))))
(void (and (system* "picobit" (path-replace-suffix file ".scm"))
(system* "picobit-vm" (path-replace-suffix file ".hex")))))
(usage))

0 comments on commit b43fe4e

Please sign in to comment.