diff --git a/retry b/retry index 5d02128..86d17a9 100755 --- a/retry +++ b/retry @@ -1,10 +1,10 @@ -#!/usr/bin/env bash +#!/bin/sh GETOPT_BIN=$IN_GETOPT_BIN GETOPT_BIN=${GETOPT_BIN:-getopt} __sleep_amount() { - if [ -n "$constant_sleep" ]; then + if [ -n "$constant_sleep" ]; then sleep_time=$constant_sleep else #TODO: check for awk