Made script user argnostic with ~ instead of hardcodes user folder

This commit is contained in:
Michael 2019-09-02 23:01:09 +02:00
parent 0e12d1d5ac
commit f47770ea67

View file

@ -10,7 +10,7 @@
# GPS ruby code derived from https://github.com/ndarilek/rb-gps # GPS ruby code derived from https://github.com/ndarilek/rb-gps
# #
require '/home/pi/world-o-techno/gps/gps.rb' require '~/world-o-techno/gps/gps.rb'
use_debug false use_debug false
gps = Gps::Receiver.create('gpsd',:host => 'localhost', :port => 2947) gps = Gps::Receiver.create('gpsd',:host => 'localhost', :port => 2947)