1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/graphics/bugle/files/patch-mvtu.sh
Martin Wilke 63c72e6c24 - Unbreak with libc++
PR:		163444
Submitted by:	Jan Beich <jbeich@tormail.net>
2012-01-14 19:18:03 +00:00

11 lines
220 B
Bash

--- 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