From c101e8239965c54799a32a7d61e85d123b77f168 Mon Sep 17 00:00:00 2001 From: Richard Frank Date: Mon, 22 Jun 2015 09:44:38 -0400 Subject: [PATCH] BLD: Pass args to ordered_pip through to pip This way, we can specify an index-url, for example. --- etc/ordered_pip.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/ordered_pip.sh b/etc/ordered_pip.sh index a121f785..f7f9bc7c 100755 --- a/etc/ordered_pip.sh +++ b/etc/ordered_pip.sh @@ -4,7 +4,8 @@ a=0 while read line do if [[ -n "$line" && "$line" != \#* ]] ; then - pip install $line + # forward to pip any args after the reqs filename + pip install $line "${@:2}" ((a = a + 1)) fi done < $1