Commit Diff
Diff:
536928b42e8d05ee88b975b3a8c567e5cf3588e3
0dc1a0aaf80e9f5b8614126e7695d528a5e760a3
Commit:
0dc1a0aaf80e9f5b8614126e7695d528a5e760a3
Tree:
0ebc69cbbf616f05fa738a15e887a7792036dda7
Author:
Fred. Galusik <f@galusik.fr>
Committer:
Fred. Galusik <f@galusik.fr>
Date:
Sun May 3 20:13:09 2020 UTC
Message:
use $() instead of `` validation. # # Sur la branche master # Votre branche est en avance sur 'origin/master' de 1 commit. # (utilisez "git push" pour publier vos commits locaux) # # Modifications qui seront validées : # modifié : snaps #
blob - 376a01d6a58240680d233c0ad3cd7fe389c848d0
blob + 95750bbe453e6b2843a9a21758e454bd6aadab22
--- snaps
+++ snaps
@@ -188,9 +188,9 @@ s_sysup() {
read_cur() {
FAQ='https://www.openbsd.org/faq/current.html'
- if [ `which links 2>/dev/null` ]; then
+ if [ $(which links 2>/dev/null) ]; then
READ='links -dump'
- elif [ `which lynx 2>/dev/null` ]; then
+ elif [ $(which lynx 2>/dev/null) ]; then
READ='lynx --dump'
else
echo "You need 'links' or 'lynx' to get the FAQ/CURRENT. Aborting..."
Frédéric Galusik