#!/bin/bash
# by Leszek Lesner
# 1 argument distro 2 argument package
args=("$@")
if [ $1 = "-b" ]; then
    reprepro --ignore=wrongdistribution --ignore=surprisingbinary --ignore=missingfile -Vb . includedeb $2 "${args[@]:2}"
else
   reprepro --ignore=wrongdistribution --ignore=surprisingbinary --ignore=missingfile -Vb . include $1 "${args[@]:1}"
fi
