fix file not found

This commit is contained in:
Ray Elliott 2020-10-27 09:49:17 +00:00
parent 7976406c51
commit f07bb869af
8 changed files with 8 additions and 8 deletions

View File

@ -1,2 +1,2 @@
#!/bin/sh #!/bin/sh
./launcher.sh "https://www.youtube.com/watch?v=Wi2h6BpRcns" "$1" "$(pwd)/cams/launcher.sh" "https://www.youtube.com/watch?v=Wi2h6BpRcns" "$1"

View File

@ -1,2 +1,2 @@
#!/bin/sh #!/bin/sh
./launcher.sh "https://www.youtube.com/watch?v=dSycFECDqME" "$1" "$(pwd)/cams/launcher.sh" "https://www.youtube.com/watch?v=dSycFECDqME" "$1"

View File

@ -1,2 +1,2 @@
#!/bin/sh #!/bin/sh
./launcher.sh "https://www.youtube.com/watch?v=Z591sNEtPgs" "$1" "$(pwd)/cams/launcher.sh" "https://www.youtube.com/watch?v=Z591sNEtPgs" "$1"

View File

@ -1,2 +1,2 @@
#!/bin/sh #!/bin/sh
./launcher.sh "https://www.youtube.com/watch?v=G05wmWFDtSo" "$1" "$(pwd)/cams/launcher.sh" "https://www.youtube.com/watch?v=G05wmWFDtSo" "$1"

View File

@ -1,2 +1,2 @@
#!/bin/sh #!/bin/sh
./launcher.sh "https://www.youtube.com/watch?v=hO9Nkorupv4" "$1" "$(pwd)/cams/launcher.sh" "https://www.youtube.com/watch?v=hO9Nkorupv4" "$1"

View File

@ -1,2 +1,2 @@
#!/bin/sh #!/bin/sh
./launcher.sh "https://www.youtube.com/watch?v=0Ns1sNoUSaY" "$1" "$(pwd)/cams/launcher.sh" "https://www.youtube.com/watch?v=0Ns1sNoUSaY" "$1"

View File

@ -1,2 +1,2 @@
#!/bin/sh #!/bin/sh
./launcher.sh "https://www.youtube.com/watch?v=neo1hRZTO0s" "$1" "$(pwd)/cams/launcher.sh" "https://www.youtube.com/watch?v=neo1hRZTO0s" "$1"

2
new
View File

@ -5,6 +5,6 @@ mkdir -p "$_cam_directory"
echo '#!/bin/sh' >> "$_cam_directory/$1" echo '#!/bin/sh' >> "$_cam_directory/$1"
# FIXME fails when run from parent directory (see mars for poss solution) # FIXME fails when run from parent directory (see mars for poss solution)
echo "./launcher.sh \"$2\" "'"$1"' >> "$_cam_directory/$1" echo '"$(pwd)"'"/cams/launcher.sh \"$2\" "'"$1"' >> "$_cam_directory/$1"
chmod +x "$_cam_directory/$1" chmod +x "$_cam_directory/$1"