13 lines
282 B
Bash
Executable File
13 lines
282 B
Bash
Executable File
#!/bin/sh
|
|
|
|
argNUM=${#}
|
|
if [ ${argNUM} -lt 1 ] ; then
|
|
echo "At least one repo name needed"
|
|
exit 1
|
|
fi
|
|
|
|
for x in "$@" ; do
|
|
pisi graph `pisi --no-color la ${x} | tail -n+1 | awk -F " - " '{print $1}' | sed -e "s/ //g"`
|
|
dot -Tpng pgraph.dot -o ~/packageDEP4${x}.png
|
|
done
|