[fluka-discuss]: fff line 119 warning fix

From: Angel <a.demerdzhiev_at_phys.uni-sofia.bg>
Date: Thu, 21 Mar 2019 10:01:44 +0200

Dear FLUKA users and experts,

With a colleague of mine, we noticed that when compiling mgdraw.f by using
the command:
$FLUPRO/flutil/fff mgdraw.f

we were getting the following warning:
/usr/local/FLUKA/flutil/fff: 119: /usr/local/FLUKA/flutil/fff: [[: not found

The issue obviously was with the syntax on line 119 and changing it from:
if [[ "$TARGET_MACHINE" = "Linux" ] && [ "$FLUFOR" = "g77" ]] ; then

to:

 if [ "$TARGET_MACHINE" = "Linux" ] && [ "$FLUFOR" = "g77" ] ; then

seems to resolve the warning.

Best regards,
Angel

-- 




__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info

Received on Thu Mar 21 2019 - 10:43:12 CET

This archive was generated by hypermail 2.3.0 : Thu Mar 21 2019 - 10:43:21 CET