From 522f100ce270b6df84e7331424e90754e5b48f8f Mon Sep 17 00:00:00 2001 From: Denis Knauf Date: Wed, 14 Jan 2015 00:03:28 +0100 Subject: [PATCH] commands: do, retry, upgrade: if $CAVE unknown, use cave --- cave_commands/do | 2 +- cave_commands/retry | 2 +- cave_commands/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cave_commands/do b/cave_commands/do index 2764f5f..82c69c7 100755 --- a/cave_commands/do +++ b/cave_commands/do @@ -1,2 +1,2 @@ #!/usr/bin/env sh -exec ${CAVE} resume "${@}" +exec ${CAVE:-cave} resume "${@}" diff --git a/cave_commands/retry b/cave_commands/retry index 76e9424..ab4da76 100755 --- a/cave_commands/retry +++ b/cave_commands/retry @@ -1,2 +1,2 @@ #!/usr/bin/env sh -exec ${CAVE} resume --retry-failed --retry-skipped "${@}" +exec ${CAVE:-cave} resume --retry-failed --retry-skipped "${@}" diff --git a/cave_commands/upgrade b/cave_commands/upgrade index 3367b7d..8fda3c9 100755 --- a/cave_commands/upgrade +++ b/cave_commands/upgrade @@ -1,2 +1,2 @@ #!/usr/bin/env sh -exec ${CAVE} resolve -c world "${@}" +exec ${CAVE:-cave} resolve -c world "${@}"