[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 #!/bin/bash 2 # $Id$ 3 # keyser@sambaedu.org - 12/2006 4 SE3MODULE="se3-ocs-clientwin" 5 PATH_SE3MODULE="$PWD" 6 7 8 SOURCE_DIR="sources" 9 #Couleurs 10 COLTITRE="\033[1;35m" # Rose 11 COLPARTIE="\033[1;34m" # Bleu 12 13 COLTXT="\033[0;37m" # Gris 14 COLCHOIX="\033[1;33m" # Jaune 15 COLDEFAUT="\033[0;33m" # Brun-jaune 16 COLSAISIE="\033[1;32m" # Vert 17 18 COLCMD="\033[1;37m" # Blanc 19 20 COLERREUR="\033[1;31m" # Rouge 21 COLINFO="\033[0;36m" # Cyan 22 23 POURSUIVRE() 24 { 25 REPONSE="" 26 while [ "$REPONSE" != "o" -a "$REPONSE" != "O" -a "$REPONSE" != "n" ] 27 do 28 #echo -e "$COLTXT" 29 echo -e "$COLTXT}Peut-on poursuivre ? ($COLCHOIX}O/n$COLTXT}) $COLSAISIE\c" 30 read REPONSE 31 if [ -z "$REPONSE" ]; then 32 REPONSE="o" 33 fi 34 done 35 echo -e "$COLTXT" 36 if [ "$REPONSE" != "o" -a "$REPONSE" != "O" ]; then 37 ERREUR "Abandon!" 38 fi 39 } 40 41 42 43 svn update $PATH_SE3MODULE || exit 1 44 45 cp -a "$PATH_SE3MODULE" /tmp/ 46 cd /tmp/ 47 48 echo "Suppression reps .svn" 49 50 find ./$SE3MODULE -name .svn -print0 | xargs -0 rm -r 51 52 53 echo "construction du paquet $SE3MODULE" 54 POURSUIVRE 55 cd $SE3MODULE/$SOURCE_DIR 56 dh_clean 57 debuild -uc -us -b 58 cd .. 59 cp *.deb "$PATH_SE3MODULE"/ 60 cd /tmp 61 rm -rf $SE3MODULE 62 cd $PATH_SE3MODULE
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Tue Mar 17 22:47:18 2015 | Cross-referenced by PHPXref 0.7.1 |