summaryrefslogtreecommitdiffstats
path: root/retiolum/scripts
diff options
context:
space:
mode:
authorEUcancER <root@euer.krebsco.de>2012-01-04 01:32:53 +0100
committerEUcancER <root@euer.krebsco.de>2012-01-04 01:32:53 +0100
commit91d6fc8971483bf8e1fed7d649f966d180e23956 (patch)
treed044a765af430b450f51c1571c723aeb3bdc18b5 /retiolum/scripts
parent0caef7215e64c6562f2ecb6bacdbb6cc814d0fc2 (diff)
//retiolum/adv_graphgen/sanitize: be less verbose
Diffstat (limited to 'retiolum/scripts')
-rwxr-xr-xretiolum/scripts/adv_graphgen/sanitize.sh6
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