Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

Remove hardcoded path references #212

Open
wants to merge 1 commit into
base: aiyprojects
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions scripts/install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ sudo pip3 install --upgrade pip virtualenv
cd "${scripts_dir}/.."
virtualenv --system-site-packages -p python3 env
env/bin/pip install -r requirements.txt
echo "/home/pi/AIY-projects-python/src" > \
/home/pi/AIY-projects-python/env/lib/python3.5/site-packages/aiy.pth
echo "$(pwd)/src" > ./env/lib/python3.5/site-packages/aiy.pth
Copy link
Member

@drigz drigz Jan 4, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$PWD is not guaranteed to be the the repository directory. Could you change it to use "${scripts_dir}/.." instead?

Just saw the cd above. Forget this comment :)


# The google-assistant-library is only available on ARMv7.
if [[ "$(uname -m)" == "armv7l" ]] ; then
Expand Down