summaryrefslogtreecommitdiff
path: root/packages/redhat/openssh.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packages/redhat/openssh.spec')
-rw-r--r--packages/redhat/openssh.spec3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/redhat/openssh.spec b/packages/redhat/openssh.spec
index ece13c5b..d8c3cf3a 100644
--- a/packages/redhat/openssh.spec
+++ b/packages/redhat/openssh.spec
@@ -160,9 +160,8 @@ cd ..
%install
rm -rf $RPM_BUILD_ROOT
-make install prefix="$RPM_BUILD_ROOT/usr" sysconfdir="$RPM_BUILD_ROOT/etc/ssh"
+make install DESTDIR=$RPM_BUILD_ROOT/
-install -d $RPM_BUILD_ROOT/etc/ssh
install -d $RPM_BUILD_ROOT/etc/pam.d/
install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
install -m644 packages/redhat/sshd.pam $RPM_BUILD_ROOT/etc/pam.d/sshd