Files
catalyst/etc/ordered_pip.sh
2015-07-23 15:58:13 -04:00

13 lines
281 B
Bash
Executable File

#!/bin/bash -e
a=0
while read line
do
if [[ -n "$line" && "$line" != \#* ]] ; then
# forward to pip any args after the reqs filename
pip install --exists-action w $line "${@:2}"
((a = a + 1))
fi
done < $1
echo "$0: Final package count is $a";