Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion script/create-files
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ create_files() {
# Pick a random image for slide
random_image=${slide_images[$RANDOM % ${#slide_images[@]}]}
# Check the operating system to determine which commands to run
if [[ "$OSTYPE" = "msys" ]]; then
if [[ "$OSTYPE" = "msys" || "$OSTYPE" = "linux-gnu" ]]; then
# Insert slide image into slide
sed -i "s|IMAGE|$random_image|g" "$new_file" >>log.out 2>&1
# Encode the file
Expand Down