aboutsummaryrefslogtreecommitdiff
path: root/patches/openssh/openssh.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'patches/openssh/openssh.SlackBuild')
-rwxr-xr-xpatches/openssh/openssh.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/patches/openssh/openssh.SlackBuild b/patches/openssh/openssh.SlackBuild
index dab2a5d7..fd4c7075 100755
--- a/patches/openssh/openssh.SlackBuild
+++ b/patches/openssh/openssh.SlackBuild
@@ -26,14 +26,12 @@
CWD="`pwd`"
-if [ -f "/etc/slackbuildrc" ]; then
+if [ -f ~/.slackbuildrc ]; then
+ source ~/.slackbuildrc
+elif [ -f /etc/slackbuildrc ]; then
source /etc/slackbuildrc
fi
-if [ -f "/root/.slackbuildrc" ]; then
- source /root/.slackbuildrc
-fi
-
PACKAGE="openssh"
VERSION=${VERSION:=4.4p1}
ARCH=${ARCH:=i486}