1 diff -u -u bnc2.9.3.orig/bncsetup bnc2.9.3/bncsetup
2 --- bnc2.9.3.orig/bncsetup 2004-10-09 23:54:49.000000000 +0300
3 +++ bnc2.9.3/bncsetup 2005-02-03 14:46:05.000000000 +0200
8 -if ! [ -e ./mkpasswd ]
9 +if ! [ -e /usr/bin/bncmkpasswd ]
11 echo "You need to Make the package before you can use this script"
12 - echo "(required ./mkpasswd)"
13 + echo "(required /usr/bin/bncmkpasswd)"
17 echo "BAD\$" > $TMPFILE
18 -echo "Test" | ./mkpasswd -s >> $TMPFILE
19 +echo "Test" | /usr/bin/bncmkpasswd -s >> $TMPFILE
20 CRCYS=$(cat $TMPFILE | grep '\$' | tail -1 )
25 if [ x$ERRORLEVEL = x0 ]
27 - if [ -x ./mkpasswd ]
28 + if [ -x /usr/bin/bncmkpasswd ]
30 - SUPERPASS="+"$(echo "$SUPERPASS" | ./mkpasswd -s)
31 - BNCPASS="+"$(echo "$BNCPASS" | ./mkpasswd -s)
32 + SUPERPASS="+"$(echo "$SUPERPASS" | /usr/bin/bncmkpasswd -s)
33 + BNCPASS="+"$(echo "$BNCPASS" | /usr/bin/bncmkpasswd -s)
36 - echo "You have not did ./configure and make so there is no ./mkpasswd"
37 + echo "You have not done ./configure and make so there is no /usr/bin/bncmkpasswd"
38 echo "This program is required to produce the encryption"