summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rwxr-xr-xinstall2
1 files changed, 1 insertions, 1 deletions
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"