changeset 220:8d2d0feff1ef

The "caller" built-in isn't available in bash 2.x.
author Rob Landley <rob@landley.net>
date Tue, 18 Sep 2007 15:10:13 -0500
parents 11e99cacb09e
children a0a17e78c07d
files include.sh
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/include.sh	Mon Sep 17 21:58:21 2007 -0500
+++ b/include.sh	Tue Sep 18 15:10:13 2007 -0500
@@ -1,5 +1,9 @@
 #!/bin/bash
 
+function extract()
+{
+}
+
 function download()
 {
   FILENAME=`echo "$URL" | sed 's .*/  '`
@@ -71,7 +75,7 @@
 
 function dienow()
 {
-  echo -e "\e[31mExiting due to errors ($(caller))\e[0m"
+  echo -e "\e[31mExiting due to errors\e[0m"
   exit 1
 }