Add bash logo, written by, linted by to README.

This commit is contained in:
Llewellyn van der Merwe 2024-03-20 16:26:36 +02:00
parent fc910ed1e6
commit e0ddbff0d1
Signed by: Llewellyn
GPG Key ID: A9201372263741E7
2 changed files with 9 additions and 3 deletions

View File

@ -1,7 +1,13 @@
# Octozipo
<h2><img align="middle" src="https://raw.githubusercontent.com/odb/official-bash-logo/master/assets/Logos/Icons/PNG/64x64.png" >
Octozipo - Convert Zip package to a repository.
</h2>
Written by Llewellyn van der Merwe (@llewellynvdm)
Convert Zip packages to repositories and if they exist update and tag them.
Linted by [#ShellCheck](https://github.com/koalaman/shellcheck)
## Install
## Get needed access token

View File

@ -806,7 +806,7 @@ function getVersionNumberByFile() {
function rightStrip() {
# Usage: rightStrip "string" "pattern"
printf '%s\n' "${1%%$2}"
printf '%s\n' "${1%%"$2"}"
}
# leftStrip - Removes the specified pattern from the start of a string
@ -824,7 +824,7 @@ function rightStrip() {
# The modified string with the pattern removed from the start
function leftStrip() {
# Usage: leftStrip "string" "pattern"
printf '%s\n' "${1##$2}"
printf '%s\n' "${1##"$2"}"
}
# This function unzips the package located in the `VDM_ZIP_DIR` directory to the specified folder.