diff options
Diffstat (limited to 'tests/mv/i-2')
-rwxr-xr-x | tests/mv/i-2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mv/i-2 b/tests/mv/i-2 index a3f51102b..ae7c5a135 100755 --- a/tests/mv/i-2 +++ b/tests/mv/i-2 @@ -2,7 +2,7 @@ # Test both cp and mv for their behavior with -if and -fi # The standards (POSIX and SuS) dictate annoyingly inconsistent behavior. -# Copyright (C) 2000, 2001 Free Software Foundation, Inc. +# Copyright (C) 2000, 2001, 2006 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -34,7 +34,7 @@ PRIV_CHECK_ARG=require-non-root . $srcdir/../priv-check pwd=`pwd` tmp=cp-mv-if-$$ -trap 'status=$?; cd $pwd; rm -rf $tmp && exit $status' 0 +trap 'status=$?; cd "$pwd" && rm -rf $tmp && exit $status' 0 trap 'exit $?' 1 2 13 15 framework_failure=0 |