File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 186
186
echo " -pwhg_gosam.f "
187
187
echo " was copied from the 'GoSamStuff/Templates' folder "
188
188
echo " "
189
- echo " Please before compile generate a standalone version of "
190
- echo " the virtual code. "
189
+ echo " Please before compiling generate a standalone version "
190
+ echo " of the virtual code. "
191
191
echo " *******************************************************"
192
192
exit
193
193
fi
@@ -261,8 +261,10 @@ then
261
261
cp -f $GOSAMDIR /gosam.rc $GOSAMLIBDIR /gosam.rc
262
262
cp -f $GOSAMDIR /orderfile.lh $GOSAMLIBDIR /orderfile.lh
263
263
cp -f $GOSAMDIR /orderfile.olc $GOSAMLIBDIR /orderfile.olc
264
- cp -f $GOSAMDIR /filter.py $GOSAMLIBDIR /filter.py
265
-
264
+ if [ -f $GOSAMDIR /filter.py ]
265
+ then
266
+ cp -f $GOSAMDIR /filter.py $GOSAMLIBDIR /filter.py
267
+ fi
266
268
else
267
269
echo " *******************************************************"
268
270
echo " The program 'makedepf90' was not found on your machine."
You can’t perform that action at this time.
0 commit comments