OSDN Git Service

fate: allow specifying relative path to config file in fate.sh
authorMåns Rullgård <mans@mansr.com>
Sun, 22 Aug 2010 11:53:02 +0000 (11:53 +0000)
committerMåns Rullgård <mans@mansr.com>
Sun, 22 Aug 2010 11:53:02 +0000 (11:53 +0000)
Originally committed as revision 24866 to svn://svn.ffmpeg.org/ffmpeg/trunk

tests/fate.sh

index e20606b..a1d7262 100755 (executable)
@@ -9,7 +9,7 @@ die(){
 
 test -r "$config"  || die "usage: fate.sh <config>"
 
-workdir=$(dirname $config)
+workdir=$(cd $(dirname $config) && pwd)
 make=make
 tar='tar c'