summaryrefslogtreecommitdiff
path: root/build/makegprof
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2023-09-10 15:58:24 +0200
committerFedja Beader <fedja@protonmail.ch>2023-09-10 15:58:24 +0200
commit0a2d34be04d72b8982cc2cd488f7e6432d30b40b (patch)
tree8eca42bd37a93b9eae2200133dfd7ad47024ad09 /build/makegprof
parent3f68449293de30d84e39fef761ca5a4734f99c32 (diff)
downloadmv-0a2d34be04d72b8982cc2cd488f7e6432d30b40b.tar.gz
mv-0a2d34be04d72b8982cc2cd488f7e6432d30b40b.tar.bz2
mv-0a2d34be04d72b8982cc2cd488f7e6432d30b40b.tar.xz
mv-0a2d34be04d72b8982cc2cd488f7e6432d30b40b.zip
trim useless uses of cat
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