We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
... install() { local dest=${1} local name=${2} local color=${3} local size=${4} local radius=${5} [[ ${color} == '-dark' ]] && local ELSE_DARK=${color} [[ ${color} == '-light' ]] && local ELSE_LIGHT=${color} local THEME_DIR=${DEST_DIR}/${name}${color}${size}${radius} [[ -d ${THEME_DIR} ]] && rm -rf ${THEME_DIR} echo "Installing '${THEME_DIR}'..." mkdir -p ${THEME_DIR} ....
The $1 parameter is assigned to dest variable but that variable isn't used. Instead DEST_DIR is used. It should be:
$1
dest
DEST_DIR
... install() { local DEST_DIR=${1} ....
The text was updated successfully, but these errors were encountered:
Thanks! I'll fix this
Sorry, something went wrong.
No branches or pull requests
The
$1
parameter is assigned todest
variable but that variable isn't used. InsteadDEST_DIR
is used.It should be:
The text was updated successfully, but these errors were encountered: