diff options
author | Elena ``of Valhalla'' Grandi <elena.valhalla@gmail.com> | 2011-12-19 22:49:14 +0100 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <elena.valhalla@gmail.com> | 2011-12-19 22:49:14 +0100 |
commit | 938daac013b3f04493bb34a67446da8f832e5b27 (patch) | |
tree | c2283c4618ba3cfd65da540ca42528653b0d8b30 | |
parent | 4d178f384b38d1a25a6371b24aaa73801b3faf3b (diff) |
SConstruct: better default for library location
-rw-r--r-- | arduino_sketch/fuzzy_alarm_clock_ds1307/SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arduino_sketch/fuzzy_alarm_clock_ds1307/SConstruct b/arduino_sketch/fuzzy_alarm_clock_ds1307/SConstruct index acc5726..c702e14 100644 --- a/arduino_sketch/fuzzy_alarm_clock_ds1307/SConstruct +++ b/arduino_sketch/fuzzy_alarm_clock_ds1307/SConstruct @@ -74,7 +74,7 @@ ARDUINO_PORT = ARGUMENTS.get('ARDUINO_PORT', ARDUINO_PORT_DEFAULT) ARDUINO_BOARD = ARGUMENTS.get('ARDUINO_BOARD', ARDUINO_BOARD_DEFAULT) ARDUINO_VER = ARGUMENTS.get('ARDUINO_VER', 22) # Arduino 0022 RST_TRIGGER = ARGUMENTS.get('RST_TRIGGER', None) # use built-in pulseDTR() by default -EXTRA_LIB = ARGUMENTS.get('EXTRA_LIB', '/home/valhalla/sketchbook/libraries') # handy for adding another arduino-lib dir +EXTRA_LIB = ARGUMENTS.get('EXTRA_LIB', os.path.expanduser('~/sketchbook/libraries')) # handy for adding another arduino-lib dir if not ARDUINO_HOME: print 'ARDUINO_HOME must be defined.' |