summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-01-03 15:40:39 +0000
committerDiego Biurrun <diego@biurrun.de>2006-01-03 15:40:39 +0000
commit6942d002ba8570acc49dc76d14b8af785fb9491d (patch)
tree0c2226089abdd6c840b757b9109622a9018a4628
parent39503a271530f709425eb298364241afed6d432f (diff)
Simplify source_path handling, avoids some warnings with non-bash shells.
Originally committed as revision 4807 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index f8c7f0ca72..6ac5807892 100755
--- a/configure
+++ b/configure
@@ -416,7 +416,7 @@ TARGET_OS=`( uname -s ) 2>&1`
esac
# find source path
-source_path="`echo $0 | sed -e 's#/configure##'`"
+source_path="`dirname $0`"
source_path_used="yes"
if test -z "$source_path" -o "$source_path" = "." ; then
source_path=`pwd`