Skip to content

Commit

Permalink
Fix chmod in download_samples.sh (openPMD#1518)
Browse files Browse the repository at this point in the history
The last entries are invalid.
  • Loading branch information
ax3l authored Aug 20, 2023
1 parent 1cf46fd commit 2384af0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions share/openPMD/download_samples.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env bash
#
set -eu -o pipefail

# build directory as optional first argument, otherwise $PWD
# we assume PWD is inside the CMake build directory
Expand Down Expand Up @@ -46,9 +47,9 @@ rm -rf diags.zip diags
# make sure we do not need write access when reading data
chmod u-w samples/git-sample/*.h5
chmod u-w samples/git-sample/thetaMode/*.h5
chmod u-w samples/samples/issue-sample/*.h5
chmod u-w samples/samples/issue-sample/no_fields/*.h5
chmod u-w samples/samples/issue-sample/no_particles/*.h5
chmod u-w samples/issue-sample/*.h5
chmod u-w samples/issue-sample/no_fields/*.h5
chmod u-w samples/issue-sample/no_particles/*.h5
find samples/git-sample/3d-bp4 -type f -exec chmod u-w {} \;

cd ${orgdir}

0 comments on commit 2384af0

Please sign in to comment.