File: example1.script.diff

package info (click to toggle)
raster3d 3.0-8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,952 kB
  • sloc: fortran: 9,536; ansic: 1,063; makefile: 315; sh: 272; csh: 1
file content (19 lines) | stat: -rw-r--r-- 495 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Author: Nelson A. de Oliveira
Last-Update: 2008-02-24 03:33:37 +0000
Description: Convert from csh to bash

--- a/examples/example1.script
+++ b/examples/example1.script
@@ -1,4 +1,4 @@
-#!/bin/csh
+#!/bin/bash
 # E A Merritt January 2003
 # Illustration of 
 #	material properties 
@@ -6,5 +6,5 @@
 #	R3D_LIB environmental variable
 #	gamma correction applied while rendering
 #
-setenv R3D_LIB ../materials
+export R3D_LIB="../materials"
 render -gamma 1.1 -png < example1.r3d | display png:-