mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-27 16:29:48 +08:00
13 lines
281 B
Bash
Executable File
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";
|