Correction de typo
* Nettoyage d'espace, commentaire, code mort
This commit is contained in:
parent
48784f1c7c
commit
f7df3be9e6
|
@ -15,9 +15,8 @@ LOCAL_BUILD_AREA="/root/build-area"
|
||||||
DEPOT_DIR="$ROOT_DIR/depot"
|
DEPOT_DIR="$ROOT_DIR/depot"
|
||||||
|
|
||||||
|
|
||||||
|
#SOURCES[x]='vcs url_ressource target_directory_in_chroot'
|
||||||
SOURCES[0]='svn https://www.alternc.org/svn/ /root/vcs/'
|
SOURCES[0]='svn https://www.alternc.org/svn/ /root/vcs/'
|
||||||
#SOURCES[1]='vcs url_ressource target_directory_in_chroot'
|
|
||||||
|
|
||||||
function prepare_chroot() {
|
function prepare_chroot() {
|
||||||
|
|
||||||
|
@ -79,7 +78,6 @@ function chroot_run() {
|
||||||
-r \
|
-r \
|
||||||
--chroot $SCHROOT_SESSION \
|
--chroot $SCHROOT_SESSION \
|
||||||
-d $DIR \
|
-d $DIR \
|
||||||
# -- "${COMMAND}"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function create_packages() {
|
function create_packages() {
|
||||||
|
@ -140,13 +138,10 @@ function create_packages() {
|
||||||
# umount $CHROOT_BUILD_AREA
|
# umount $CHROOT_BUILD_AREA
|
||||||
|
|
||||||
done;
|
done;
|
||||||
|
|
||||||
#Nettoyer les build-area dans les sources
|
|
||||||
# find $SRC_DIR -iname build-area -exec rm -r {} \;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function create_apt() {
|
function create_apt() {
|
||||||
#Création du depot
|
#Création du depot
|
||||||
mkdir -p $DEPOT_DIR
|
mkdir -p $DEPOT_DIR
|
||||||
|
|
||||||
for dir in $(ls $BUILD_AREA); do
|
for dir in $(ls $BUILD_AREA); do
|
||||||
|
|
Loading…
Reference in New Issue