aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKito Cheng <kito.cheng@sifive.com>2022-09-30 01:09:58 +0800
committerGitHub <noreply@github.com>2022-09-30 01:09:58 +0800
commitc2857f9c03867f9fe9ee8e44b7cf57dd83020455 (patch)
treea3d857965d07b13091902da47d5836ac6851f10a
parent50c1b734e889e5cbb88bcc7f14975ea9a1d0b936 (diff)
parentf286ddeaba2c8bbc31a7009072ef682d01dd8cda (diff)
downloadriscv-gnu-toolchain-2022.09.30.zip
riscv-gnu-toolchain-2022.09.30.tar.gz
riscv-gnu-toolchain-2022.09.30.tar.bz2
Merge pull request #1134 from cmuellner/permerrormsg2022.09.30
Makefile.in: Adjust permission error message
-rw-r--r--Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index 8171138..7a6f409 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -203,9 +203,9 @@ build-sim: $(SIM_STAMP)
stamps/check-write-permission:
mkdir -p $(INSTALL_DIR)/.test || \
(echo "Sorry, you don't have permission to write to" \
- "'$(INSTALL_DIR)', use --prefix to specify" \
- "another path, or use 'sudo make' if you *REALLY* want to" \
- "install into '$(INSTALL_DIR)'" && exit 1)
+ "'$(INSTALL_DIR)'. Please make sure that the location is " \
+ "writable or use --prefix to specify another destination.'" \
+ && exit 1)
rm -r $(INSTALL_DIR)/.test
mkdir -p $(dir $@) && touch $@