Comments (6)
Please share your script here, this error suggests there is something wrong in it.
from bash_loading_animations.
> 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.
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.
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.
Awesome, now works!
bash_loading_animations/bash_loading_animations.sh: line 72: 2859839 Terminated BLA::play_loading_animation_loop
from bash_loading_animations.
Thank you!
from bash_loading_animations.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bash_loading_animations.