formatting

This commit is contained in:
LooseSeal2
2019-07-17 01:00:02 -07:00
parent 067ef0515b
commit e3c685e5b9
52 changed files with 567 additions and 428 deletions

View File

@@ -1,13 +1,13 @@
#!/bin/bash
# Helper script to download and run the build-ffmpeg script.
make_dir () {
make_dir() {
if [ ! -d $1 ]; then
if ! mkdir $1; then
printf "\n Failed to create dir %s" "$1";
if ! mkdir $1; then
printf "\n Failed to create dir %s" "$1"
exit 1
fi
fi
fi
}
command_exists() {
@@ -21,7 +21,7 @@ command_exists() {
TARGET='ffmpeg-build'
if ! command_exists "curl"; then
echo "curl not installed.";
echo "curl not installed."
exit 1
fi
@@ -37,4 +37,3 @@ echo "Now we download and execute the build script"
echo ""
bash build-ffmpeg --build