From 8ec104437d918b8796b1d29497f71b6b6d8347f9 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Tue, 5 Dec 2023 18:35:07 +0800 Subject: [PATCH] Fix shebang and permission of src/gsfml/fz_funcs.sh (#8131) * Fix shebang and permission of src/gsfml/fz_funcs.sh * Update one more --- doc/scripts/GMT_gsfml_components.sh | 2 +- src/gsfml/fz_funcs.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 src/gsfml/fz_funcs.sh diff --git a/doc/scripts/GMT_gsfml_components.sh b/doc/scripts/GMT_gsfml_components.sh index 368531bcf1d..0d4c53e8df8 100755 --- a/doc/scripts/GMT_gsfml_components.sh +++ b/doc/scripts/GMT_gsfml_components.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Plot the three building blocks G0, G1, G2 in a normalized way gmt begin GMT_gsfml_components fzmodeler -D-30/30/0.1 -N1 -W10 -G0 -T- | gmt plot -W1p,red -Bxafg5 -Byafg1 -R-30/30/-1.1/1.1 -JX15c/-4c -l"-G@-0@-" diff --git a/src/gsfml/fz_funcs.sh b/src/gsfml/fz_funcs.sh old mode 100644 new mode 100755 index 615909a610a..0dadbefb772 --- a/src/gsfml/fz_funcs.sh +++ b/src/gsfml/fz_funcs.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash #-------------------------------------------------------------------- # Copyright (c) 2015-2023 by P. Wessel # See LICENSE.TXT file for copying and redistribution conditions.