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
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
# 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
gps = Gps::Receiver.create('gpsd',:host => 'localhost', :port => 2947)
@ -233,4 +233,4 @@ loop do
else
playSatelliteCount()
end
end
end