Skip to content

Commit

Permalink
Bugfix/find type one letter (#85)
Browse files Browse the repository at this point in the history
* fix call -type older find versions

* readme
  • Loading branch information
pirovc committed May 10, 2023
1 parent 0bf94d4 commit 56f610b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2022 - Vitor C. Piro - http://github.com/pirovc
Copyright (c) 2023 - Vitor C. Piro - http://github.com/pirovc
All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,11 @@ or
## Parameters

```
┌─┐┌─┐┌┐┌┌─┐┌┬┐┌─┐ ┬ ┬┌─┐┌┬┐┌─┐┌┬┐┌─┐┬─┐
│ ┬├┤ ││││ ││││├┤ │ │├─┘ ││├─┤ │ ├┤ ├┬┘
└─┘└─┘┘└┘└─┘┴ ┴└─┘────└─┘┴ ─┴┘┴ ┴ ┴ └─┘┴└─
v0.6.1
v0.6.2
Database options:
-d Database (comma-separated entries)
Expand Down
6 changes: 3 additions & 3 deletions genome_updater.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ IFS=$' '

# The MIT License (MIT)

# Copyright (c) 2022 - Vitor C. Piro - pirovc.github.io
# Copyright (c) 2023 - Vitor C. Piro - pirovc.github.io
# All rights reserved.

# Permission is hereby granted, free of charge, to any person obtaining a copy
Expand All @@ -25,7 +25,7 @@ IFS=$' '
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

version="0.6.1"
version="0.6.2"

# Define ncbi_base_url or use local files (for testing)
local_dir=${local_dir:-}
Expand Down Expand Up @@ -124,7 +124,7 @@ list_local_files() # parameter: ${1} prefix, ${2} 1 to list list all, "" list on
if [[ ! -z "${2:-}" ]]; then
param=""
fi
find "${1}${files_dir}" ${depth} ${param} -type f,l -printf "%f\n"
find "${1}${files_dir}" ${depth} ${param} \( -type f -o -type l \) -printf "%f\n"
}

unpack() # parameter: ${1} file, ${2} output folder[, ${3} files to unpack]
Expand Down

0 comments on commit 56f610b

Please sign in to comment.