From 68c20b4e4e351846c80af98db75eee3030f25fa6 Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Sun, 20 Dec 2020 20:48:17 +0100 Subject: [PATCH] Travis CI: Make sure shell scripts in .travis.yml also work with bash, not just dash and zsh --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b85c588..a2f1b0f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,7 @@ matrix: before_install: - mount - ls -ld /tmp/ - - echo "#!/bin/sh\necho Scripts in /tmp work.\n" > /tmp/test-executable-in-tmp && chmod -c 755 /tmp/test-executable-in-tmp && /tmp/test-executable-in-tmp + - printf '#!/bin/sh\necho Scripts in /tmp work.\n' > /tmp/test-executable-in-tmp && chmod -c 755 /tmp/test-executable-in-tmp && /tmp/test-executable-in-tmp - sudo apt-get update - sudo apt-get install devscripts dpkg-dev lsb-release - eval $(curl https://travis-perl.github.io/init)