[Libreoffice-commits] dev-tools.git: clang/bin
Miklos Vajna (via logerrit)
logerrit at kemper.freedesktop.org
Fri Sep 17 09:30:39 UTC 2021
clang/bin/clang-rename-wrapper | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 2c6ea2aac8f00d6d598f1c50244ebebd738d7bc8
Author: Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Fri Sep 17 11:29:02 2021 +0200
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Fri Sep 17 11:30:21 2021 +0200
clang: add clang-rename-wrapper
This is almost the same as the old rename-wrapper, but it uses
clang-rename, not that custom "rename" tool from this repo.
And remove the old wrapper, I don't think anybody uses it.
diff --git a/clang/bin/rename-wrapper b/clang/bin/clang-rename-wrapper
similarity index 92%
rename from clang/bin/rename-wrapper
rename to clang/bin/clang-rename-wrapper
index 6f4e938..da7cbac 100755
--- a/clang/bin/rename-wrapper
+++ b/clang/bin/clang-rename-wrapper
@@ -1,7 +1,7 @@
#!/bin/bash
mydir=$(dirname $0)
-myname=rename
+myname=clang-rename
if [ -h $0 ]; then
mydir=$(dirname $(readlink -f $0))
fi
@@ -29,7 +29,7 @@ if [ -n "$file" ]; then
mkdir -p /tmp/rename
RENAME_ARGS="$RENAME_ARGS -export-fixes=$(mktemp -p /tmp/rename XXXXXXXXXX.yaml)"
fi
- $mydir/$myname $RENAME_ARGS $file -- "$@"
+ $myname $RENAME_ARGS $file -- "$@"
ret=$?
fi
More information about the Libreoffice-commits
mailing list