Add bash logo, written by, linted by to README.
This commit is contained in:
parent
fc910ed1e6
commit
e0ddbff0d1
@ -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.
|
Convert Zip packages to repositories and if they exist update and tag them.
|
||||||
|
|
||||||
|
Linted by [#ShellCheck](https://github.com/koalaman/shellcheck)
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
## Get needed access token
|
## Get needed access token
|
||||||
|
@ -806,7 +806,7 @@ function getVersionNumberByFile() {
|
|||||||
|
|
||||||
function rightStrip() {
|
function rightStrip() {
|
||||||
# Usage: rightStrip "string" "pattern"
|
# 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
|
# 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
|
# The modified string with the pattern removed from the start
|
||||||
function leftStrip() {
|
function leftStrip() {
|
||||||
# Usage: leftStrip "string" "pattern"
|
# 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.
|
# This function unzips the package located in the `VDM_ZIP_DIR` directory to the specified folder.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user