Permalink
Browse files

Expand '~' with os.path.expanduser

Issue #20. Reported by petrisorbogdan.
  • Loading branch information...
1 parent 0a6a846 commit 3123aea2b231ba156b4e6a7521e5e48c406c3caf @suapapa committed Jul 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 SConstruct
View
@@ -70,7 +70,7 @@ else:
ARDUINO_HOME_DEFAULT = '/usr/share/arduino/' #'/home/YOU/apps/arduino-00XX/'
ARDUINO_PORT_DEFAULT = getUsbTty('/dev/ttyUSB*')
AVR_BIN_PREFIX = 'avr-'
- SKETCHBOOK_HOME_DEFAULT = os.path.realpath('~/share/arduino/sketchbook/')
+ SKETCHBOOK_HOME_DEFAULT = os.path.expanduser('~/share/arduino/sketchbook/')
ARDUINO_BOARD_DEFAULT = os.environ.get('ARDUINO_BOARD', 'atmega328')

0 comments on commit 3123aea

Please sign in to comment.