From 3aafc32ef52a282969e49ac43d95a1098211f97e Mon Sep 17 00:00:00 2001 From: Kubat <mael.martin31@gmail.com> Date: Mon, 6 Nov 2023 18:59:03 +0100 Subject: [PATCH] MISC: Fix typo in readme+use bash explicitly for .bash scripts --- README.md | 4 ++-- utils/scripts/build-libvvs.bash | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f3b40006..bb2a032c 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ - C++ compiler with [C++17 support](https://en.cppreference.com/w/cpp/17) - [mpv](https://mpv.io/) development library - [Qt6](https://www.qt.io/) development library: QtCore, QtWidgets, QtOpenGL, QtOpenGLWidgets. -- The AV libraries: libavutil libavcodec libavformat +- The AV libraries: libavutil libavcodec libavformat. - Some unix utils, the `jq` binary, the `bash` shell. ## Build @@ -15,7 +15,7 @@ Simply use cmake to build in another folder of the source folder: ```bash -cmake -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++ -CDMAKE_INSTALL_PREFIX=$HOME/.local -GNinja +cmake -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=$HOME/.local -GNinja ninja -Cbuild ninja -Cbuild install ``` diff --git a/utils/scripts/build-libvvs.bash b/utils/scripts/build-libvvs.bash index 0dd55e63..f6c321c1 100755 --- a/utils/scripts/build-libvvs.bash +++ b/utils/scripts/build-libvvs.bash @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash set -e exec 5>&1 cd "$(git rev-parse --show-toplevel)" -- GitLab