Update all shell scripts to use /bin/sh and not /bin/bash to make syntax less confusing during development.

This commit is contained in:
mmcw-dev 2018-12-28 18:07:15 -05:00
parent 25f3e605c5
commit b8ffb02b8a
4 changed files with 10 additions and 7 deletions

View File

@ -1,8 +1,8 @@
#!/bin/bash
#!/bin/sh
echo "Downloading example videos from archive.org..."
mkdir examples
mkdir -p examples
#Please run this script sparingly!!!
#examples come from https://archive.org/details/ElectricSheep

View File

@ -1,7 +1,9 @@
#!/bin/bash
#!/bin/sh
declare -a arr=("frameloom" "Basic usage")
mkdir -p examples
## now loop through the above array
for i in "${!arr[@]}"
do

View File

@ -1,10 +1,11 @@
#!/bin/bash
#!/bin/sh
#This example script requires that you have youtube-dl installed
echo "Downloading example videos using youtube-dl..."
mkdir examples
mkdir -p examples
#11 second videos
if [ ! -f ./examples/Y1.mp4 ]; then
(cd examples && youtube-dl --verbose --format 'bestvideo+bestaudio/best' --audio-format best https://www.youtube.com/watch?v=u2DYOsrJrDQ)

View File

@ -1,6 +1,6 @@
#!/bin/bash
#!/bin/sh
# Simple bash script version of frameloom
# Simple shell script version of frameloom
# Only creates a 1:1 pattern between 2 videos
# Usage : sh frameloom.sh examples/A.mp4 examples/B.mp4 examples/OUTPUT.mp4