diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-07-17 14:36:48 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-07-17 14:36:48 +0000 |
commit | 51970dcbe086a735eda97d64da99eb43076a782b (patch) | |
tree | 9a5d1feb0301c8708cfd778f02ba067c7bb5a600 | |
parent | 097f9ca8011a93566f93b8d3c4d63743abe11b90 (diff) | |
download | xine-lib-51970dcbe086a735eda97d64da99eb43076a782b.tar.gz xine-lib-51970dcbe086a735eda97d64da99eb43076a782b.tar.bz2 |
first define srcdir, then use it ;>
CVS patchset: 293
CVS date: 2001/07/17 14:36:48
-rwxr-xr-x | cvscompile.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cvscompile.sh b/cvscompile.sh index 2e08d69b2..79ad0a2fd 100755 --- a/cvscompile.sh +++ b/cvscompile.sh @@ -3,6 +3,9 @@ rm -f config.cache +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + #m4_files="_xine.m4 alsa.m4 arts.m4 esd.m4 aa.m4 irixal.m4" if test -d $srcdir/m4; then rm -f acinclude.m4 @@ -14,9 +17,6 @@ else exit 1 fi -srcdir=`dirname $0` -test -z "$srcdir" && srcdir=. - (test -f $srcdir/configure.in) || { echo -n "*** Error ***: Directory "\`$srcdir\'" does not look like the" echo " top-level directory" |