From 64e54cbbecc121c7f07edc0bbb3a9ad4530c65c6 Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Sat, 26 Dec 2020 09:23:20 +0800 Subject: [PATCH] update --- install.sh | 3 ++- parse-sass.sh | 2 +- render-assets.sh | 2 +- src/assets/cinnamon/render-thumbnails.sh | 2 +- src/assets/gtk-2.0/render-assets.sh | 2 +- src/assets/gtk-3.0/render-thumbnails.sh | 2 +- src/assets/metacity-1/render-assets.sh | 2 +- src/assets/xfwm4/render-assets.sh | 2 +- 8 files changed, 9 insertions(+), 8 deletions(-) diff --git a/install.sh b/install.sh index ef9e8a2..a697fc6 100755 --- a/install.sh +++ b/install.sh @@ -1,5 +1,6 @@ -#!/bin/bash +#! /usr/bin/env bash set -ueo pipefail +set -o physical #set -x REPO_DIR=$(cd $(dirname $0) && pwd) diff --git a/parse-sass.sh b/parse-sass.sh index 135a366..dac1435 100755 --- a/parse-sass.sh +++ b/parse-sass.sh @@ -1,4 +1,4 @@ -#! /bin/bash +#! /usr/bin/env bash if [ ! "$(which sassc 2> /dev/null)" ]; then echo sassc needs to be installed to generate the css. diff --git a/render-assets.sh b/render-assets.sh index 0a59ce3..6c8ea14 100755 --- a/render-assets.sh +++ b/render-assets.sh @@ -1,4 +1,4 @@ -#! /bin/bash +#! /usr/bin/env bash INKSCAPE="/usr/bin/inkscape" OPTIPNG="/usr/bin/optipng" diff --git a/src/assets/cinnamon/render-thumbnails.sh b/src/assets/cinnamon/render-thumbnails.sh index 46c279f..aa1dba7 100755 --- a/src/assets/cinnamon/render-thumbnails.sh +++ b/src/assets/cinnamon/render-thumbnails.sh @@ -1,4 +1,4 @@ -#! /bin/bash +#! /usr/bin/env bash INKSCAPE="/usr/bin/inkscape" OPTIPNG="/usr/bin/optipng" diff --git a/src/assets/gtk-2.0/render-assets.sh b/src/assets/gtk-2.0/render-assets.sh index b2b1b01..cb3335d 100755 --- a/src/assets/gtk-2.0/render-assets.sh +++ b/src/assets/gtk-2.0/render-assets.sh @@ -1,4 +1,4 @@ -#! /bin/bash +#! /usr/bin/env bash INKSCAPE="/usr/bin/inkscape" OPTIPNG="/usr/bin/optipng" diff --git a/src/assets/gtk-3.0/render-thumbnails.sh b/src/assets/gtk-3.0/render-thumbnails.sh index 46c279f..aa1dba7 100755 --- a/src/assets/gtk-3.0/render-thumbnails.sh +++ b/src/assets/gtk-3.0/render-thumbnails.sh @@ -1,4 +1,4 @@ -#! /bin/bash +#! /usr/bin/env bash INKSCAPE="/usr/bin/inkscape" OPTIPNG="/usr/bin/optipng" diff --git a/src/assets/metacity-1/render-assets.sh b/src/assets/metacity-1/render-assets.sh index 08b6752..6727363 100755 --- a/src/assets/metacity-1/render-assets.sh +++ b/src/assets/metacity-1/render-assets.sh @@ -1,4 +1,4 @@ -#! /bin/bash +#! /usr/bin/env bash INKSCAPE="/usr/bin/inkscape" OPTIPNG="/usr/bin/optipng" diff --git a/src/assets/xfwm4/render-assets.sh b/src/assets/xfwm4/render-assets.sh index 8a1178c..ff35e2c 100755 --- a/src/assets/xfwm4/render-assets.sh +++ b/src/assets/xfwm4/render-assets.sh @@ -1,4 +1,4 @@ -#! /bin/bash +#! /usr/bin/env bash INKSCAPE="/usr/bin/inkscape" OPTIPNG="/usr/bin/optipng"