summaryrefslogtreecommitdiff
path: root/build/makegprof
diff options
context:
space:
mode:
Diffstat (limited to 'build/makegprof')
-rwxr-xr-xbuild/makegprof4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/makegprof b/build/makegprof
index bfe6922d7..967238b8e 100755
--- a/build/makegprof
+++ b/build/makegprof
@@ -3,5 +3,5 @@
mv ../run/gmon.out .
gprof ../run/bin/manaplus >gprof.txt
gprof --inline-file-names ../run/bin/manaplus >gprofi.txt
-cat gprof.txt | gprof2dot.py >gprof.dot
-cat gprof.dot | dot -Tpng -o gprof.png
+gprof2dot.py <gprof.txt >gprof.dot
+dot -Tpng -o gprof.png <gprof.dot