File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ mkdir -p target/$profilename/securitygroups
24
24
mkdir -p target/$profilename /subnets
25
25
26
26
echo INFO: graphing default dependencies
27
- aws-visualizer -p $profilename --directory target/$profilename -r $profileregion $@
27
+ aws-visualizer -p $profilename --directory target/$profilename /default -r $profileregion $@
28
28
echo INFO: graphing with subnets
29
29
aws-visualizer -p $profilename --directory target/$profilename /subnets -r $profileregion --use-subnets $@
30
30
echo INFO: graphing with security groups
@@ -40,7 +40,7 @@ if [ -n "$DOT" ] ; then
40
40
dot -Tpng -o $( dirname $file ) /$( basename $file .dot) .png $file
41
41
done
42
42
if [ " $( uname) " == " Darwin" ] ; then
43
- open target/ * / * .png
43
+ open $( sed -e ' s/\.dot/\ .png/g ' <<< $DOTFILE )
44
44
else
45
45
echo INFO: Done. checkout target/ subdirectories
46
46
fi
You can’t perform that action at this time.
0 commit comments