Use full path to stty

This commit is contained in:
Max Howell committed 2012-03-09 12:08:51 +00:00
1 parent ca5bccd2d9
commit ebbc2e5b3f
1 file changed
+2 -2
+2 -2
View File
@@ -71,10 +71,10 @@ def sudo *args
end
def getc # NOTE only tested on OS X
system "stty raw -echo"
system "/bin/stty raw -echo"
STDIN.getc
ensure
system "stty -raw echo"
system "/bin/stty -raw echo"
end
####################################################################### script