From 938daac013b3f04493bb34a67446da8f832e5b27 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Mon, 19 Dec 2011 22:49:14 +0100 Subject: SConstruct: better default for library location --- arduino_sketch/fuzzy_alarm_clock_ds1307/SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arduino_sketch') 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.' -- cgit v1.2.3