Skip to content

Commit

Permalink
[cli] re-use PYTHONPATH in cli wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
praiskup committed Sep 16, 2016
1 parent 0d7db03 commit 3997316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/copr
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

absdir="$(dirname "$(readlink -f "$0")")"
export PYTHONPATH="$absdir:$absdir/../python"
export PYTHONPATH="$absdir:$absdir/../python${PYTHONPATH+:$PYTHONPATH}"
python3 -m copr_cli.main "$@"

0 comments on commit 3997316

Please sign in to comment.