install using fakeroot only when component requests it
[matrix.git] / scripts / run.sh
index ba127ff..f0d306f 100644 (file)
@@ -6,19 +6,12 @@ then
        MAKE="make"
 fi
 
-if [ "$MATRIX_ACTION" = "install" ]
-then
-       FAKEROOT="fakeroot -s $MATRIX_WORKDIR/meta/fakedb"
-else
-       FAKEROOT=
-fi
-
 MAKEFILE="$MATRIX_SCRIPTDIR/matrix.mk"
 TARGET="__matrix_$MATRIX_ACTION"
 
 if [ "$MATRIX_VERBOSE" ]
 then
-       $FAKEROOT $MAKE \
+       $MAKE \
                --no-print-directory \
                -j "$MATRIX_JOBS" \
                -C "$MATRIX_WORKDIR" \
@@ -27,7 +20,7 @@ then
                2>&1 | tee $MATRIX_LOG
        exit ${PIPESTATUS[0]}
 else
-       exec $FAKEROOT $MAKE \
+       exec $MAKE \
                --no-print-directory \
                -j "$MATRIX_JOBS" \
                -C "$MATRIX_WORKDIR" \