summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2013-03-07 12:22:21 +0100
committermathieui <mathieui@mathieui.net>2013-03-07 12:22:21 +0100
commitd6a2b10995f40f1807cb4c6fec83a0bf49b41465 (patch)
treeffcf198b17fff14068bba0ef7ad9ed4d21704a86
parenta6aca8853173a1622f9e5eb668786f16ae1eab01 (diff)
downloadpoezio-d6a2b10995f40f1807cb4c6fec83a0bf49b41465.tar.gz
poezio-d6a2b10995f40f1807cb4c6fec83a0bf49b41465.tar.bz2
poezio-d6a2b10995f40f1807cb4c6fec83a0bf49b41465.tar.xz
poezio-d6a2b10995f40f1807cb4c6fec83a0bf49b41465.zip
Make the script posix-compliant
-rwxr-xr-xupdate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.sh b/update.sh
index 8f606f92..9eed6d17 100755
--- a/update.sh
+++ b/update.sh
@@ -6,7 +6,7 @@
# Use launch.sh to start poezio directly from here
-function error() {
+error() {
echo -e "\033[1;31mThe script failed to update $1.\033[0m"
echo -e "\033[1;31mPlease investigate.\033[0m"
exit 1