Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Dynare
website
Commits
af99a5a2
Verified
Commit
af99a5a2
authored
Sep 12, 2019
by
Sébastien Villemot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More explicit Bash primitive name
parent
93a01a85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
setup-download-links.sh
setup-download-links.sh
+2
-2
No files found.
setup-download-links.sh
View file @
af99a5a2
...
...
@@ -19,8 +19,8 @@ do
for
dir
in
"
${
arr
[@]
}
"
do
mkdir
-p
"
$dir
"
mapfile
-t
filenames < <
(
jq .[].filename
"
$dir
.json"
)
mapfile
-t
timestamps < <
(
jq .[].date
"
$dir
.json"
)
readarray
-t
filenames < <
(
jq .[].filename
"
$dir
.json"
)
readarray
-t
timestamps < <
(
jq .[].date
"
$dir
.json"
)
n
=
$(
jq length
"
$dir
.json"
)
cd
"
$dir
"
for
((
i
=
0
;
i < n
;
i++
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment