1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-17 00:00:40 +00:00
freebsd-ports/irc/bnc/files/patch-ab
Michael Haro 01b817a515 update to version 2.6.2
PR:		10648
Submitted by:	me with help finding a new MASTER_SITE from #freebsd
1999-05-16 23:07:32 +00:00

38 lines
1007 B
Plaintext

--- bncsetup.orig Wed Mar 17 07:31:19 1999
+++ bncsetup Thu Mar 18 01:51:47 1999
@@ -12,15 +12,9 @@
exit $1
}
-if ! [ -e ./mkpasswd ]
-then
- echo "You need to Make the package before you can use this script"
- echo "(required ./mkpasswd)"
- bsclean 0
-fi
echo "BAD\$" > $TMPFILE
-echo "Test" | ./mkpasswd -s >> $TMPFILE
+echo "Test" | mkpasswd -s >> $TMPFILE
CRCYS=$(cat $TMPFILE | grep '\$' | tail -1 )
@@ -149,13 +143,13 @@
if [ x$ERRORLEVEL = x0 ]
then
- if [ -x ./mkpasswd ]
+ if [ -x @PREFIX@/bin/mkpasswd ]
then
- SUPERPASS="+"$(echo "$SUPERPASS" | ./mkpasswd -s)
- BNCPASS="+"$(echo "$BNCPASS" | ./mkpasswd -s)
+ SUPERPASS="+"$(echo "$SUPERPASS" | mkpasswd -s)
+ BNCPASS="+"$(echo "$BNCPASS" | mkpasswd -s)
else
clear
- echo "You have not did ./configure and make so there is no ./mkpasswd"
+ echo "You have not did ./configure and make so there is no mkpasswd"
echo "This program is required to produce the encryption"
bsclean 0
fi