Package: povray
Version: 3.6.1
Severity: normal
Hello,
I wrote a very basic patch (attached) to fix this outstanding bug #530161. I
have tried to follow the no-bashism guidance as much as possible.
Feel free to forward this patch upstream should this be necessary.
Best Regards
Olivier.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-bpo.1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -ruN povray-3.6.1/scripts/allanim.sh povray-3.6.1-nobashism/scripts/allanim.sh
--- povray-3.6.1/scripts/allanim.sh 2009-06-03 21:18:07.000000000 +0200
+++ povray-3.6.1-nobashism/scripts/allanim.sh 2009-06-03 22:13:01.000000000 +0200
@@ -74,7 +74,8 @@
echo " computer. If you continue the script will try to"
echo " the scenes from the current directory."
echo ""
- read -p "Press CTRL-C to abort or any other key to continue " -n 1
+ echo -n "Press CTRL-C to abort or RETURN to continue "
+ read dontcare
echo "------------------------------------------------------"
SCENE_DIR=.
diff -ruN povray-3.6.1/scripts/allscene.sh povray-3.6.1-nobashism/scripts/allscene.sh
--- povray-3.6.1/scripts/allscene.sh 2009-06-03 21:18:07.000000000 +0200
+++ povray-3.6.1-nobashism/scripts/allscene.sh 2009-06-03 22:15:06.000000000 +0200
@@ -80,7 +80,8 @@
echo " computer. If you continue the script will try to"
echo " the scenes from the current directory."
echo ""
- read -p "Press CTRL-C to abort or any other key to continue " -n 1
+ echo -n "Press CTRL-C to abort or RETURN to continue "
+ read dontcare
echo "------------------------------------------------------"
SCENE_DIR=.
diff -ruN povray-3.6.1/scripts/portfolio.sh povray-3.6.1-nobashism/scripts/portfolio.sh
--- povray-3.6.1/scripts/portfolio.sh 2009-06-03 21:18:07.000000000 +0200
+++ povray-3.6.1-nobashism/scripts/portfolio.sh 2009-06-03 22:15:50.000000000 +0200
@@ -71,7 +71,8 @@
echo " computer. If you continue the script will try to"
echo " the scenes from the current directory."
echo ""
- read -p "Press CTRL-C to abort or any other key to continue " -n 1
+ echo -n "Press CTRL-C to abort or RETURN to continue "
+ read dontcare
echo "------------------------------------------------------"
SCENE_DIR=.