Skip to content

Commit

Permalink
Fix file name expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
PYLochou committed Feb 5, 2025
1 parent 6bf22e9 commit 0c277dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions common/script/configureDatabase.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ if [ -n "$DB_DRIVER_URL" ]; then
shopt -s nullglob

# Unzip drivers if necessary
for arch in *zip; do
for arch in *.zip; do
unzip -q ${arch}
rm ${arch}
done

# Untar drivers if necessary (.tgz, .tar, .tar.gz, .tar.bz2, .tar.xz are supported)
for arch in *tar* *tgz; do
for arch in *.tar* *.tgz; do
tar -xaf ${arch}
rm ${arch}
done
Expand Down
4 changes: 2 additions & 2 deletions common/script/download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ if [ -n "$DOWNLOAD_URL" ]; then
shopt -s nullglob

# Unzip download if necessary
for arch in *zip; do
for arch in *.zip; do
unzip -q ${arch}
rm ${arch}
done

# Untar download if necessary (.tgz, .tar, .tar.gz, .tar.bz2, .tar.xz are supported)
for arch in *tar* *tgz; do
for arch in *.tar* *.tgz; do
tar -xaf ${arch}
rm ${arch}
done
Expand Down

0 comments on commit 0c277dc

Please sign in to comment.