You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-analyzer/hping/files/hping-3_pre20051105-tclsh-p...

27 lines
550 B

Fix for https://bugs.gentoo.org/show_bug.cgi?id=486664
--- a/configure
+++ b/configure
@@ -65,10 +65,10 @@
do
for TCLVER_TRY in "8.6" "8.5" "8.4" "8.3" "8.2" "8.1" "8.0"
do
- if [ -z $TCLSH ]
+ if [ -z "$TCLSH" ]
then
TCLSH_TRY=${TCLPATH_TRY}tclsh${TCLVER_TRY}
- if [ -f $TCLSH_TRY ]
+ if [ -f "$TCLSH_TRY" ]
then
TCLSH=$TCLSH_TRY
echo "===> Found Tclsh in: $TCLSH"
@@ -76,7 +76,7 @@
fi
done
done
-if [ -f $TCLSH ]
+if [ -f "$TCLSH" ]
then
TCL_VER=`echo puts \\$tcl_version | $TCLSH -`
USE_TCL='-DUSE_TCL'