From 1a3c9fe41b9b20d98b0b7afe6dbec9fcb025d551 Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Sat, 29 Sep 2012 17:25:02 -0500 Subject: [PATCH] Fix setup_develop Change-Id: I64324436eebebfb05ad724335eece10cba107d91 --- functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions b/functions index 0cfffb87c1..677621f2f5 100644 --- a/functions +++ b/functions @@ -681,7 +681,8 @@ function setup_develop() { python setup.py egg_info; \ raw_links=$(awk '/^.+/ {print "-f " $1}' *.egg-info/dependency_links.txt); \ depend_links=$(echo $raw_links | xargs); \ - pip_install -r *-info/requires.txt $depend_links; \ + require_file=$([ ! -r *-info/requires.txt ] || echo "-r *-info/requires.txt"); \ + pip_install $require_file $depend_links; \ $SUDO_CMD \ HTTP_PROXY=$http_proxy \ HTTPS_PROXY=$https_proxy \