Package: povray / 1:3.7.0.0-8

40_bashism.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Author: Andreas Beckmann <anbe@debian.org>
Description: use bash as interpreter for scripts using non-posix extensions for "read"
Bug-Debian: https://bugs.debian.org/772356

--- a/unix/scripts/portfolio.sh
+++ b/unix/scripts/portfolio.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # ==============================================================================
 # POV-Ray 3.7 
 # portfolio.sh - render the POV-Ray portfolio
@@ -86,7 +86,7 @@ if [ ! -d "$SCENE_DIR" ] ; then
   echo "  so this script does not work."
   echo "  Try reinstalling POV-Ray."
 	echo "------------------------------------------------------"
-  read
+  read dontcare
   exit
 fi
 
--- a/unix/scripts/allanim.sh
+++ b/unix/scripts/allanim.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # ==============================================================================
 # POV-Ray 3.7 
 # allanim.sh - render all POV-Ray sample animations
@@ -89,7 +89,7 @@ if [ ! -d "$SCENE_DIR" ] ; then
   echo "  so this script does not work."
   echo "  Try reinstalling POV-Ray."
 	echo "------------------------------------------------------"
-  read
+  read dontcare
   exit
 fi
 
--- a/unix/scripts/allscene.sh
+++ b/unix/scripts/allscene.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # ==============================================================================
 # POV-Ray 3.7 
 # allscene.sh - render all POV-Ray sample scenes
@@ -95,7 +95,7 @@ if [ ! -d "$SCENE_DIR" ] ; then
   echo "  so this script does not work."
   echo "  Try reinstalling POV-Ray."
 	echo "------------------------------------------------------"
-  read
+  read dontcare
   exit
 fi