Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
crossfire problems
- To: ,
- Subject: crossfire problems
- From: (Walter Misar)
- Date: Mon, 7 Feb 2000 19:14:34 +0100 (MEZ)
I tried the newest snapshot (7.2.) from
http://langmuir.eecs.berkeley.edu/pub/peterm, and configure dies with
test: argument expected. The Problem are lines like:
if eval "test -z $FOO"; then
This fails if $FOO isn't set. What's the purpose of the eval there ?
Deleting the eval, removing the global quoting and induvidually quoting
the variables should be fine. Probably all those occurences of eval
in configure.in should be deleted - since I don't want to go through
the trouble of installing automake, etc, my diff is against the
configure Script, and probably only useful as an illustration.
The second diff (of server/skill_util.c) is just a typo fix
(unweild -> unwield).
Third, crossedit cores on me (solaris 7), I'll look into the Probelm
if I can find the source of the problem (the server runs without problems),
crossedit of 0.95.4 cored too.
Walter
*** configure.old Mon Feb 7 18:25:26 2000
--- configure Mon Feb 7 18:55:56 2000
***************
*** 1489,1495 ****
GUNZIP="$GZIP -c"
fi;
! if eval "test -z $COMPRESS"; then
# Extract the first word of "compress", so it can be a program name with args.
set dummy compress; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
--- 1489,1495 ----
GUNZIP="$GZIP -c"
fi;
! if test -z "$COMPRESS"; then
# Extract the first word of "compress", so it can be a program name with args.
set dummy compress; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
***************
*** 1621,1627 ****
BUNZIP="$BZIP -c"
fi;
! if eval "test -z $COMPRESS -a -z $GZIP -a -z $BZIP2"; then
echo "Unable to find either compress, bzip2, or gzip - hope you don't plan on compressing";
echo "any files.";
fi;
--- 1621,1627 ----
BUNZIP="$BZIP -c"
fi;
! if test -z "$COMPRESS" -a -z "$GZIP" -a -z "$BZIP2"; then
echo "Unable to find either compress, bzip2, or gzip - hope you don't plan on compressing";
echo "any files.";
fi;
*** server/skill_util.c.old Mon Feb 7 18:52:35 2000
--- server/skill_util.c Mon Feb 7 18:54:47 2000
***************
*** 1141,1147 ****
if(sk_index<0) { /* bye,bye. We didn't request a valid skill */
#if 0
! /* this is confusing to players, get when you unweild a weapon! */
new_draw_info(NDI_UNIQUE, 0,pl,"You can't use an non-existent skill!");
#endif
return 0;
--- 1141,1147 ----
if(sk_index<0) { /* bye,bye. We didn't request a valid skill */
#if 0
! /* this is confusing to players, get when you unwield a weapon! */
new_draw_info(NDI_UNIQUE, 0,pl,"You can't use an non-existent skill!");
#endif
return 0;
***************
*** 1241,1247 ****
CLEAR_FLAG(pl,FLAG_READY_WEAPON);
fix_player(pl);
if(pl->type==PLAYER) {
! new_draw_info(NDI_UNIQUE, 0,pl,"You unweild your weapon in order to attack.");
esrv_update_item(UPD_FLAGS, pl, weapon);
}
break;
--- 1241,1247 ----
CLEAR_FLAG(pl,FLAG_READY_WEAPON);
fix_player(pl);
if(pl->type==PLAYER) {
! new_draw_info(NDI_UNIQUE, 0,pl,"You unwield your weapon in order to attack.");
esrv_update_item(UPD_FLAGS, pl, weapon);
}
break;