Made script user argnostic with ~ instead of hardcodes user folder
This commit is contained in:
parent
0e12d1d5ac
commit
f47770ea67
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
|
@ -233,4 +233,4 @@ loop do
|
||||||
else
|
else
|
||||||
playSatelliteCount()
|
playSatelliteCount()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue