mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
cleanup wmake scripts
- match comments to names of scripts - remove comments about using C-shell (not true anymore) - use 'assert' style syntax in places instead of if/then/fi - wcleanMachine supports multiple arguments
This commit is contained in:
@ -28,8 +28,6 @@
|
||||
#
|
||||
# Description
|
||||
# Cleans up the dependency list and add the compilation statement.
|
||||
# It has to be written in the C-shell rather than the Bourne shell
|
||||
# because it uses file name manipulators.
|
||||
#
|
||||
# Usage: wmkdep <fileName> | addCompile <fileName>
|
||||
#
|
||||
@ -52,11 +50,11 @@ if [ "$WM_PROJECT_DIR" ]
|
||||
then
|
||||
sed -e s%$WM_PROJECT_DIR%'$(WM_PROJECT_DIR)'% > $depName
|
||||
else
|
||||
cat > $depName
|
||||
cat > $depName
|
||||
fi
|
||||
|
||||
|
||||
if [ "$sub" = "java" ]
|
||||
if [ "$sub" = java ]
|
||||
then
|
||||
|
||||
sed -e s%"\(.*\).class.*:"%'$(CLASSES_DIR)/'"\1.class\:"% \
|
||||
|
||||
Reference in New Issue
Block a user