Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Aug 2024 15:00:32 GMT
From:      Vladimir Druzenko <vvd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a7274daa5fbb - main - emulators/ares: fix 'su' usage in pkg-message
Message-ID:  <202408241500.47OF0W24045412@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a7274daa5fbba3baca1e58c9647b30c781e02e95

commit a7274daa5fbba3baca1e58c9647b30c781e02e95
Author:     Stefan Schlosser <bsdcode@disroot.org>
AuthorDate: 2024-08-24 14:59:24 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-08-24 14:59:24 +0000

    emulators/ares: fix 'su' usage in pkg-message
    
    PR:     281023
    Fixes:  9e6023ac0e0d (update 139.20240809 → 139.20240823)
---
 emulators/ares/files/pkg-message.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/emulators/ares/files/pkg-message.in b/emulators/ares/files/pkg-message.in
index 5c53a71ed905..70eef70b8788 100644
--- a/emulators/ares/files/pkg-message.in
+++ b/emulators/ares/files/pkg-message.in
@@ -28,12 +28,12 @@ the FreeBSD ports tree yet, but it is being worked on, see
 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280470. In the meantime users
 have to compile the library themselves if they want to actually use shaders:
 
-    $ su pkg install rust-nightly
+    $ su root -c 'pkg install rust-nightly'
     $ fetch https://github.com/SnowflakePowered/librashader/archive/refs/tags/librashader-v%%LIBRASHADER%%.tar.gz
     $ tar -xf librashader-v%%LIBRASHADER%%.tar.gz
     $ cd librashader-librashader-v%%LIBRASHADER%%
     $ cargo run -p librashader-build-script -- --profile release
-    $ su cp target/release/librashader.so %%LOCALBASE%%/lib
+    $ su root -c 'cp target/release/librashader.so %%LOCALBASE%%/lib'
 
 The port uses the shaders from games/libretro-shaders-slang by default. Users
 can curate and utilize their own provided collection of shaders by putting them


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408241500.47OF0W24045412>