]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
source lang-default *before* the `cd'
authorJim Meyering <jim@meyering.net>
Sun, 22 Oct 2000 21:23:18 +0000 (21:23 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 22 Oct 2000 21:23:18 +0000 (21:23 +0000)
tests/rm/r-2

index 044dd227940221d3010cd068265b68b814278dca..f341b303bc5b18581856eb39b79b71eecc90d5fa 100755 (executable)
@@ -5,6 +5,8 @@ if test "$VERBOSE" = yes; then
   set -x
 fi
 
+. $srcdir/../lang-default
+
 pwd=`pwd`
 tmp=r2-$$
 trap 'status=$?; cd $pwd; rm -rf $tmp || exit $?; exit $status' 0
@@ -18,8 +20,6 @@ mkdir t t/a t/a/b || framework_failure=1
 > t/a/f || framework_failure=1
 > t/a/b/g || framework_failure=1
 
-. $srcdir/../lang-default
-
 # FIXME: if this fails, it's a framework failure
 cat <<EOF | sort > t/E || framework_failure=1
 removing all entries of directory \`t/a'