[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Savannah-cvs] [780] shellcheck fix
From: |
iank |
Subject: |
[Savannah-cvs] [780] shellcheck fix |
Date: |
Mon, 15 Apr 2024 11:01:39 -0400 (EDT) |
Revision: 780
http://svn.savannah.gnu.org/viewvc/?view=rev&root=administration&revision=780
Author: iank
Date: 2024-04-15 11:01:37 -0400 (Mon, 15 Apr 2024)
Log Message:
-----------
shellcheck fix
Modified Paths:
--------------
trunk/sviki/fsf/bash-style-guide.mdwn
Modified: trunk/sviki/fsf/bash-style-guide.mdwn
===================================================================
--- trunk/sviki/fsf/bash-style-guide.mdwn 2024-04-03 20:32:08 UTC (rev
779)
+++ trunk/sviki/fsf/bash-style-guide.mdwn 2024-04-15 15:01:37 UTC (rev
780)
@@ -515,7 +515,7 @@
To work from the same directory of the script:
```
-readonly this_file="$(readlink -f -- "${BASH_SOURCE[0]}")"; cd ${this_file%/*}
+readonly this_file; this_file="$(readlink -f -- "${BASH_SOURCE[0]}")"; cd
${this_file%/*}
```
Print script name & command, then execute command:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Savannah-cvs] [780] shellcheck fix,
iank <=