about summary refs log tree commit diff
path: root/generator
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2022-08-03 01:54:03 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2022-08-03 01:54:03 +0000
commitea33c0f4199428c3c06572eb6d13dae41340b9d7 (patch)
tree8b8fff938c79f53d8915170ce540a372a6e2c321 /generator
parent46247b94c06d6e07e5a09b50d43f45c7411dc89f (diff)
downloadnetpbm-mirror-ea33c0f4199428c3c06572eb6d13dae41340b9d7.tar.gz
netpbm-mirror-ea33c0f4199428c3c06572eb6d13dae41340b9d7.tar.xz
netpbm-mirror-ea33c0f4199428c3c06572eb6d13dae41340b9d7.zip
Use new 'pamcat' instead of 'pnmcat'
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4385 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'generator')
-rwxr-xr-xgenerator/ppmrainbow7
1 files changed, 5 insertions, 2 deletions
diff --git a/generator/ppmrainbow b/generator/ppmrainbow
index a5c2689d..10b1f7ae 100755
--- a/generator/ppmrainbow
+++ b/generator/ppmrainbow
@@ -126,8 +126,11 @@ while (@colorlist >= 2) {
     shift @colorlist;
 }
 
-0 == system qq{$verboseCommand pnmcat -lr @outlist}
-    or exit 1;
+my $termStat =
+    system("$verboseCommand pamcat -leftright @outlist | ppmtoppm");
+if ($termStat != 0) {
+    exit 1;
+}
 
 exit 0;