From daf57f99f22cd105bf274cb856ae8e198388748e Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Mon, 30 Jan 2023 13:01:23 +0000 Subject: install: allow mode to be specified --- install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install') diff --git a/install b/install index f35979a..f7d25e8 100755 --- a/install +++ b/install @@ -1,2 +1,2 @@ #!/bin/sh -install -Dm755 target/debug/libpam_usercg.so "${DESTDIR}${PREFIX:-/usr/local}/lib/security/pam_usercg.so" +install -Dm755 "target/${MODE:-debug}/libpam_usercg.so" "${DESTDIR}${PREFIX:-/usr/local}/lib/security/pam_usercg.so" -- cgit v1.2.3-54-g00ecf