[libcxx-commits] [libcxxabi] [libcxxabi] Fix user prompt in cp-to-llvm.sh. (PR #114268)

Ryan Mansfield via libcxx-commits libcxx-commits at lists.llvm.org
Wed Oct 30 10:12:40 PDT 2024


https://github.com/rjmansfield created https://github.com/llvm/llvm-project/pull/114268

User prompt wasn't listing the files to be copied.

>From 4db03d0c507d0c3437f074208efcf6b0a84a0676 Mon Sep 17 00:00:00 2001
From: Ryan Mansfield <ryan_mansfield at apple.com>
Date: Wed, 30 Oct 2024 13:08:29 -0400
Subject: [PATCH] [libcxxabi] Fix user prompt in cp-to-llvm.sh.

---
 libcxxabi/src/demangle/cp-to-llvm.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libcxxabi/src/demangle/cp-to-llvm.sh b/libcxxabi/src/demangle/cp-to-llvm.sh
index cfe32c228e65d4..f8b3585a5fa377 100755
--- a/libcxxabi/src/demangle/cp-to-llvm.sh
+++ b/libcxxabi/src/demangle/cp-to-llvm.sh
@@ -18,7 +18,7 @@ if [[ ! -d "$LLVM_DEMANGLE_DIR" ]]; then
     exit 1
 fi
 
-read -p "This will overwrite the copies of $FILES in $LLVM_DEMANGLE_DIR; are you sure? [y/N]" -n 1 -r ANSWER
+read -p "This will overwrite the copies of $HDRS in $LLVM_DEMANGLE_DIR; are you sure? [y/N]" -n 1 -r ANSWER
 echo
 
 if [[ $ANSWER =~ ^[Yy]$ ]]; then



More information about the libcxx-commits mailing list