diff --git a/install.sh b/install.sh index 9ebf0ff..ca8b745 100755 --- a/install.sh +++ b/install.sh @@ -25,6 +25,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 pip3 install setuptools python3 setup.py install --force