LDA010 лет назад: 7
Родитель
Сommit
ccb5a00c78
1 измененных файлов с 1 добавлено и 10 удалено
  1. 1 10
      gentoo/sys-cluster/mpich/mpich-3.2-r1.ebuild.old

+ 1 - 10
gentoo/sys-cluster/mpich/mpich-3.2-r1.ebuild.old

@@ -106,19 +106,10 @@ multilib_src_install() {
 		mv "${ED}"usr/include/mpif* "${T}"/fortran || die
 		mv "${ED}"usr/include/mpif* "${T}"/fortran || die
 		mv "${ED}"usr/include/*.mod "${T}"/fortran || die
 		mv "${ED}"usr/include/*.mod "${T}"/fortran || die
 		echo "I am in first if"
 		echo "I am in first if"
-	else if  use fortran; 
-		then
-			echo "I am in second if"
+	else  
 			# some fortran files get installed unconditionally 
 			# some fortran files get installed unconditionally 
 			rm "${ED}"usr/include/mpif* "${ED}"usr/include/*.mod || die
 			rm "${ED}"usr/include/mpif* "${ED}"usr/include/*.mod || die
-		fi
 	fi
 	fi
-
-		echo "ED = $ED"
-		echo "XOXOX"
-		# some fortran files get installed unconditionally
-		#rm "${ED}"usr/include/mpif* "${ED}"usr/include/*.mod || die
-		#rm "${ED}"usr/include/mpi* || die
 	
 	
 }
 }