diff include.sh @ 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 0c60dc8d7fd5
children 8b0d2080707c
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
 }