rpi/clone: make chdir more robust
This commit is contained in:
@ -3,7 +3,7 @@ import os
|
|||||||
import time
|
import time
|
||||||
|
|
||||||
# go to script directory
|
# go to script directory
|
||||||
os.chdir(os.path.dirname(__file__))
|
os.chdir(os.path.dirname(os.path.abspath(__file__)))
|
||||||
|
|
||||||
HOST = "l_samenv@samenv"
|
HOST = "l_samenv@samenv"
|
||||||
SUBDIR = "boxes/rpi_images"
|
SUBDIR = "boxes/rpi_images"
|
||||||
|
Reference in New Issue
Block a user