- Unbreak with libc++

PR:		163444
Submitted by:	Jan Beich <jbeich@tormail.net>
This commit is contained in:
Martin Wilke 2012-01-14 19:18:03 +00:00
parent c50b196845
commit 63c72e6c24
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=289221

View File

@ -0,0 +1,10 @@
--- mvtu.sh~
+++ mvtu.sh
@@ -5,6 +5,7 @@ rm -f "$2"
for i in "$1.tu" "$1.t00.tu" "$1.001t.tu"
do
test -f "$i" && mv -f "$i" "$2"
+ test -f "${2%/*}/$i" && mv -f "${2%/*}/$i" "$2"
done
if ! test -f "$2"
then