diff options
author | EUcancER <root@euer.krebsco.de> | 2012-01-04 01:32:53 +0100 |
---|---|---|
committer | EUcancER <root@euer.krebsco.de> | 2012-01-04 01:32:53 +0100 |
commit | 91d6fc8971483bf8e1fed7d649f966d180e23956 (patch) | |
tree | d044a765af430b450f51c1571c723aeb3bdc18b5 | |
parent | 0caef7215e64c6562f2ecb6bacdbb6cc814d0fc2 (diff) |
//retiolum/adv_graphgen/sanitize: be less verbose
-rwxr-xr-x | retiolum/scripts/adv_graphgen/sanitize.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/retiolum/scripts/adv_graphgen/sanitize.sh b/retiolum/scripts/adv_graphgen/sanitize.sh index 5572b9d9..50f1659f 100755 --- a/retiolum/scripts/adv_graphgen/sanitize.sh +++ b/retiolum/scripts/adv_graphgen/sanitize.sh @@ -1,5 +1,5 @@ #!/bin/sh -set -xeuf +set -euf cd $(dirname `readlink -f $0`) GRAPH_SETTER1=dot GRAPH_SETTER2=circo @@ -21,10 +21,12 @@ do tmpgraph=`mktemp --tmpdir=$1` $setter -T$TYPE -o $tmpgraph $DOTFILE chmod go+rx $tmpgraph - mv $tmpgraph $1retiolum_$i.$TYPE + mv $tmpgraph $1/retiolum_$i.$TYPE i=`expr $i + 1` done + #convert -resize 20% $1/retiolum_1.$TYPE $1/retiolum_1.$TYPE2 #convert -resize 20% $1/retiolum_2.$TYPE $1/retiolum_2.$TYPE2 #convert -resize 20% $1/retiolum_3.$TYPE $1/retiolum_3.$TYPE2 #convert -resize 20% $1/retiolum_4.$TYPE $1/retiolum_4.$TYPE2 +rm $DOTFILE |