[GRASS-SVN] r31257 - grass-addons/raster/r.inund.fluv

svn_grass at osgeo.org svn_grass at osgeo.org
Mon May 5 11:15:01 EDT 2008


Author: robertomarzocchi
Date: 2008-05-05 11:15:01 -0400 (Mon, 05 May 2008)
New Revision: 31257

Removed:
   grass-addons/raster/r.inund.fluv/install.sh
Log:


Deleted: grass-addons/raster/r.inund.fluv/install.sh
===================================================================
--- grass-addons/raster/r.inund.fluv/install.sh	2008-05-05 15:08:20 UTC (rev 31256)
+++ grass-addons/raster/r.inund.fluv/install.sh	2008-05-05 15:15:01 UTC (rev 31257)
@@ -1,62 +0,0 @@
-#!/bin/sh
-
-echo "You must be root or have the permissions for installing a grass-script"
-echo " "
-echo "please, write your GRASS directory"
-echo "       e.g. /usr/grass-xxxx     (look also in /usr/local or /usr/lib)"
-read grass_directory
-
-if [ -e $grass_directory/fortran_code ]; then  
-    directory=$grass_directory'/etc/fortran_code'
-else
-    echo "The fortran code will be put in $grass_directory/fortran_code" 
-    directory=$grass_directory'/etc/fortran_code'
-    mkdir $directory
-fi
-
-initial_directory=`pwd` 
- 
-cp find_main_channel.f90 $directory
-cp clean_inundation.f90 $directory
-cp 2d_path.f90 $directory
-cp correction_from_path.f90 $directory
-
-cd $directory
-
-
-# if you have gnu fortran compiler (gcc-gfortran.i386), use the following rows: 
-
-gfortran -O1 -o find_main_channel find_main_channel.f90 
-gfortran -O1 -o clean_inundation clean_inundation.f90
-gfortran -O1 -o 2d_path 2d_path.f90
-gfortran -O1 -o correction_from_path correction_from_path.f90
-
-# if you have a intel fortran compiler, use the following rows  
-#ifort -O3 -xW -o find_main_channel find_main_channel.f90 
-#ifort -O3 -xW -o clean_inundation clean_inundation.f90
-#ifort -O3 -xW -o 2d_path 2d_path.f90
-#ifort -O3 -xW -o correction_from_path correction_from_path.f90
-
-rm find_main_channel.f90
-rm clean_inundation.f90
-rm 2d_path.f90
-rm correction_from_path.f90
-
-cd $initial_directory
-
-cp r.inund.fluv $grass_directory/scripts
-chmod 777 $grass_directory/scripts/r.inund.fluv
-
-if [ -e $grass_directory/docs ]; then
-	cp r.inund.fluv.html $grass_directory/docs/html/
-   else
-	mkdir $grass_directory/docs
-	mkdir $grass_directory/docs/html
-	cp r.inund.fluv.html $grass_directory/docs/html/
-fi
-
-echo "OK now you've successfull installed "
-
-exit
-
-



More information about the grass-commit mailing list