From a6e628793ee1659d1f93ebcc5dbd3e52359d7a08 Mon Sep 17 00:00:00 2001
From: Ron <ron@debian.org>
Date: Sun, 11 Nov 2012 22:28:18 +1030
Subject: [PATCH] Trim some things out of autogen.sh that aren't doing anything

Mostly so that people looking at or cloning it later don't get confused
into thinking that they are.

Signed-off-by: Ralph Giles <giles@mozilla.com>
---
 autogen.sh | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index ed71bc6..42239fa 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -2,15 +2,10 @@
 # Run this to set up the build system: configure, makefiles, etc.
 set -e
 
-package="opusfile"
-
-ACLOCAL_FLAGS="-I m4"
-
-olddir=`pwd`
 srcdir=`dirname $0`
-test -z "$srcdir" && srcdir=.
+test -n "$srcdir" && cd "$srcdir"
 
-cd "$srcdir"
+echo "Updating build configuration files for opusfile, please wait...."
 
-echo "Updating build configuration files for $package, please wait...."
+ACLOCAL_FLAGS="-I m4"
 autoreconf -isf
-- 
GitLab