Revision 34477 trunk/install/scripts/appendContributionsToInstall.sh

View differences:

appendContributionsToInstall.sh
4 4
# Si se produce un error, salimos inmediatamente
5 5
set -e
6 6

  
7
#cd ..
8 7
if [ ! -d "$PREV_INSTALL" ]; then
9 8
	echo "Can't find the directory \"$PREV_INSTALL\" ."
10 9
	exit
......
54 53

  
55 54
echo "RESULTADO: $xml"
56 55
cd ..
57
#echo "cat install_template.xml | gawk '{ gsub( \"<!-- OTRAS EXTENSIONES -->\", \"$xml\" ); print }'" > install.xml
58
#cat install_template.xml | gawk '{ gsub( "<!-- OTRAS EXTENSIONES -->", $xml ); print }' > install.xml
59 56

  
60 57
while read line
61 58
do
......
67 64
	fi
68 65
done < install_template.xml >install.xml
69 66

  
67
cd ..
68
if [ -d "$PREV_INSTALL" ]; then
69
	rm -r $PREV_INSTALL;
70
	echo "Deleted \"$PREV_INSTALL\" ."
71
fi;

Also available in: Unified diff