Code Monkey home page Code Monkey logo

Comments (6)

Silejonu avatar Silejonu commented on June 5, 2024

Please share your script here, this error suggests there is something wrong in it.

from bash_loading_animations.

sdarioz avatar sdarioz commented on June 5, 2024

> Please share your script here, this error suggests there is something wrong in it.


# Load in the functions and animations
source /var/www/html/bash_ls.sh
# Run BLA::stop_loading_animation if the script is interrupted
trap BLA::stop_loading_animation SIGINT

BLA::start_loading_animation "${BLA_braille_whitespace[@]}"

echo "Please write your exact working directory, for example: /var/www/html"
read INPUT_W_DIR

#Vars
W_DIR=$(pwd)

# $W_DIR= "/var/www/html"

# Checks if you're at working directory
if [[ $INPUT_W_DIR == $W_DIR ]]; then
    echo "Working directory path is correct (/var/www/html)"
    
elif [[ $INPUT_W_DIR != $W_DIR ]]; then
    echo "Change your working directory to /var/www/html"

    You're at: `pwd`

    And execute this script again"
    exit 1
    
fi
BLA::stop_loading_animation

from bash_loading_animations.

Silejonu avatar Silejonu commented on June 5, 2024

I get errors in your script, but the loading animation is present.

Are you sure source /var/www/html/bash_ls.sh is right?

How did you download bash_loading_animation? Did you modify it?

from bash_loading_animations.

Silejonu avatar Silejonu commented on June 5, 2024

Never mind, I did not pay enough attention to your initial message. The error is caused by the fact you run your script with sh. Run it with bash, and it will work.

from bash_loading_animations.

sdarioz avatar sdarioz commented on June 5, 2024

Awesome, now works!

bash_loading_animations/bash_loading_animations.sh: line 72: 2859839 Terminated BLA::play_loading_animation_loop

from bash_loading_animations.

sdarioz avatar sdarioz commented on June 5, 2024

Thank you!

from bash_loading_animations.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.