From 236916794df74c47d72187b2307641bb2b7065b2 Mon Sep 17 00:00:00 2001 From: jerryproductn Date: Fri, 4 Sep 2020 14:30:22 -0700 Subject: [PATCH] use PREFIX env var but default to /usr/local if not set --- pinata-build-sshd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pinata-build-sshd.sh b/pinata-build-sshd.sh index 23e9a85..f846da4 100755 --- a/pinata-build-sshd.sh +++ b/pinata-build-sshd.sh @@ -1,4 +1,4 @@ #!/bin/sh -cd /usr/local/share/pinata-ssh-agent +cd ${PREFIX:-/usr/local}/share/pinata-ssh-agent docker build -t pinata-sshd .