Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 35fe6ec

Browse files
Not everyone has Guido's bin in his/her PATH...
1 parent be80e0e commit 35fe6ec

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

Lib/irix5/torgb.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
table['ppm'] = t
1919

2020
t = pipes.Template().init()
21-
t.append('pnmtoppm', '--')
21+
t.append('(PATH=$PATH:/ufs/guido/bin/sgi; exec pnmtoppm)', '--')
2222
t.append('fromppm $IN $OUT', 'ff')
2323
table['pnm'] = t
2424
table['pgm'] = t
@@ -36,13 +36,13 @@
3636

3737
t = pipes.Template().init()
3838
t.append('rasttopnm', '--')
39-
t.append('pnmtoppm', '--')
39+
t.append('(PATH=$PATH:/ufs/guido/bin/sgi; exec pnmtoppm)', '--')
4040
t.append('fromppm $IN $OUT', 'ff')
4141
table['rast'] = t
4242

4343
t = pipes.Template().init()
4444
t.append('djpeg', '--')
45-
t.append('pnmtoppm', '--')
45+
t.append('(PATH=$PATH:/ufs/guido/bin/sgi; exec pnmtoppm)', '--')
4646
t.append('fromppm $IN $OUT', 'ff')
4747
table['jpeg'] = t
4848

Lib/plat-irix5/torgb.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
table['ppm'] = t
1919

2020
t = pipes.Template().init()
21-
t.append('pnmtoppm', '--')
21+
t.append('(PATH=$PATH:/ufs/guido/bin/sgi; exec pnmtoppm)', '--')
2222
t.append('fromppm $IN $OUT', 'ff')
2323
table['pnm'] = t
2424
table['pgm'] = t
@@ -36,13 +36,13 @@
3636

3737
t = pipes.Template().init()
3838
t.append('rasttopnm', '--')
39-
t.append('pnmtoppm', '--')
39+
t.append('(PATH=$PATH:/ufs/guido/bin/sgi; exec pnmtoppm)', '--')
4040
t.append('fromppm $IN $OUT', 'ff')
4141
table['rast'] = t
4242

4343
t = pipes.Template().init()
4444
t.append('djpeg', '--')
45-
t.append('pnmtoppm', '--')
45+
t.append('(PATH=$PATH:/ufs/guido/bin/sgi; exec pnmtoppm)', '--')
4646
t.append('fromppm $IN $OUT', 'ff')
4747
table['jpeg'] = t
4848

0 commit comments

Comments
 (0)