From 97960c6f28aa8119b5ad0ec337a977c35e5590cb Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Wed, 24 Oct 2018 12:35:42 -0400 Subject: [PATCH] Try and make zsh complain less My turn to make "this cant possibly break" changes to the scripts. --- paper | 2 +- scripts/apatch.sh | 2 +- scripts/checkoutpr.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/paper b/paper index 9efb026e8..e4fb4b42c 100755 --- a/paper +++ b/paper @@ -199,7 +199,7 @@ unset -f color unset -f colorend unset -f paperstash unset -f paperunstash -if [ "$failed" == "1" ]; then +if [[ "$failed" == "1" ]]; then unset failed false else diff --git a/scripts/apatch.sh b/scripts/apatch.sh index 54355c61f..38a204691 100755 --- a/scripts/apatch.sh +++ b/scripts/apatch.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash gitcmd="git -c commit.gpgsign=false" diff --git a/scripts/checkoutpr.sh b/scripts/checkoutpr.sh index f11b89a31..3d07227ff 100755 --- a/scripts/checkoutpr.sh +++ b/scripts/checkoutpr.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [ -z "$1" ]; then echo "$0 " exit 1;