[pass] [PATCH] Add compatibility for OpenBSD

René Neumann lists at necoro.eu
Thu Apr 23 14:14:44 CEST 2015


Am 23.04.2015 um 13:36 schrieb David Dahlberg:
> diff --git a/src/platform/openbsd.sh b/src/platform/openbsd.sh
> new file mode 100644
> index 0000000..ac8ba06
> --- /dev/null
> +++ b/src/platform/openbsd.sh
> @@ -0,0 +1,41 @@
> +# Copyright (C) 2012 Jonathan Chu <milki at rescomp.berkeley.edu>. All Rights Reserved.
> +# This file is licensed under the GPLv2+. Please see COPYING for more information.
> +
> +tmpdir() {
> +        [[ -n $SECURE_TMPDIR ]] && return
> +        local warn=1
> +        [[ $1 == "nowarn" ]] && warn=0
> +	local template="$PROGRAM.XXXXXXXXXXXXX"
> +	if [ "`sysctl -n kern.usermount`" == 1 ]; then

Some space/tab mixing is going on here (dito at the end of the file).

- René



More information about the Password-Store mailing list