Skip to content

Commit

Permalink
Remove pipefail, go back to default shell
Browse files Browse the repository at this point in the history
  • Loading branch information
AnimMouse committed Mar 24, 2022
1 parent 2568184 commit 6e5a0cb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions scripts/download/Linux.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
set -euo pipefail
version=$(curl -s https://api.github.com/repos/rclone/rclone/releases/latest | jq -r '.tag_name')
#!/bin/sh
set -eu
version=$(curl -s https://api.github.com/repos/rclone/rclone/releases/latest | jq -r .tag_name)
echo ::group::Downloading Rclone $version for Linux
aria2c -x 16 https://github.com/rclone/rclone/releases/download/$version/rclone-$version-linux-amd64.zip
7z e rclone-$version-linux-amd64.zip rclone -oRclone -r
Expand Down
6 changes: 3 additions & 3 deletions scripts/download/macOS.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
set -euo pipefail
version=$(curl -s https://api.github.com/repos/rclone/rclone/releases/latest | jq -r '.tag_name')
#!/bin/sh
set -eu
version=$(curl -s https://api.github.com/repos/rclone/rclone/releases/latest | jq -r .tag_name)
echo ::group::Downloading Rclone $version for macOS
aria2c -x 16 https://github.com/rclone/rclone/releases/download/$version/rclone-$version-osx-amd64.zip
7z e rclone-$version-osx-amd64.zip rclone -oRclone -r
Expand Down
4 changes: 2 additions & 2 deletions scripts/sign-in/Unix-like.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
set -euo pipefail
#!/bin/sh
set -eu
echo ::group::Signing in to Rclone using Rclone config
mkdir ~/.config/rclone/
echo $rclone_config | base64 -d > ~/.config/rclone/rclone.conf
Expand Down

0 comments on commit 6e5a0cb

Please sign in to comment.