Skip to content

Commit

Permalink
Makefile.in: Adjust permission error message
Browse files Browse the repository at this point in the history
We should not encourage people to call "sudo make".
Let's drop that recommendation in case of permission errors.

Signed-off-by: Christoph Müllner <[email protected]>
  • Loading branch information
cmuellner committed Sep 29, 2022
1 parent 50c1b73 commit f286dde
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 $@

Expand Down

0 comments on commit f286dde

Please sign in to comment.