diff --git a/install.sh b/install.sh index 17aa9eb..3deff1c 100755 --- a/install.sh +++ b/install.sh @@ -26,6 +26,7 @@ rm -rf pi_hello_video echo "Installing video_looper program..." echo "==================================" +cd "$(dirname "$0")" mkdir -p /mnt/usbdrive0 # This is very important if you put your system in readonly after python setup.py install --force cp video_looper.ini /boot/video_looper.ini