Files
pisi/tools/graphAllDeps.sh
T
S.Çağlar Onur 4c40bcc361 çalış...
2005-11-03 22:58:56 +00:00

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