diff options
Diffstat (limited to 'pbuilder-checkparams')
-rwxr-xr-x | pbuilder-checkparams | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pbuilder-checkparams b/pbuilder-checkparams index 523e21e..4d56838 100755 --- a/pbuilder-checkparams +++ b/pbuilder-checkparams @@ -198,6 +198,19 @@ while [ -n "$1" ]; do SAVE_AFTER_LOGIN=yes; shift; ;; + --inputfile) + if [ ! -f "$2" ]; then + log "E: Input file $2 does not exist" + exit 1 + fi + INPUTFILE[${#INPUTFILE[@]}]="$2"; + shift; shift; + ;; + --outputfile) + OUTPUTFILE[${#OUTPUTFILE[@]}]="$2"; + shift; shift; + ;; + ## internal options. --internal-chrootexec) # specify custom chrootexec function -- this is internal debugging function |