Commit e51af106 authored by Mattia Rizzolo's avatar Mattia Rizzolo

pbuilder script: let pbuilder be a variable

parent 33e5e5ae
...@@ -10,6 +10,7 @@ COMMAND=`echo $@|sed s/$OPERATION//` ...@@ -10,6 +10,7 @@ COMMAND=`echo $@|sed s/$OPERATION//`
BASE_DIR="$HOME/pbuilder" BASE_DIR="$HOME/pbuilder"
APTCACHE="$BASE_DIR/cache/apt/$DIST-$ARCH" APTCACHE="$BASE_DIR/cache/apt/$DIST-$ARCH"
OTHER="" OTHER=""
BUILDER=pbuilder
kind() { kind() {
contains() { contains() {
...@@ -75,7 +76,7 @@ sett() { ...@@ -75,7 +76,7 @@ sett() {
} }
execute() { execute() {
sudo pbuilder $OPERATION \ sudo $BUILDER $OPERATION \
--architecture $ARCH \ --architecture $ARCH \
--basetgz $BASE_DIR/$DIST-$ARCH-base.tgz \ --basetgz $BASE_DIR/$DIST-$ARCH-base.tgz \
--distribution $DIST \ --distribution $DIST \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment