Guido Günther <[email protected]> writes:

> It could check if the GBP_BUILD_DIR environment variable is unset and
> neither "update", "create" or "login" where given:

> diff --git a/git-pbuilder b/git-pbuilder
> index 3d57ffb..81c3a89 100755
> --- a/git-pbuilder
> +++ b/git-pbuilder
> @@ -91,6 +91,11 @@ update|create|login)
>      sudo cowbuilder --"$action" --basepath "$BASE" --dist "$DIST" $OPTIONS 
> "$@"
>      exit $?
>      ;;
> +*)
> +    if [ -z "$GBP_BUILD_DIR" ]; then
> +        echo "Warning: not running under git-buildpackage" >&2
> +    fi
> +    ;;
>  esac

Thanks, that looks good.  Applied and git-pbuilder 1.17 is now available
at http://www.eyrie.org/~eagle/software/scripts/ (sorry about the delay).

-- 
Russ Allbery ([email protected])               <http://www.eyrie.org/~eagle/>



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to