#!/bin/sh # # - We do not allow -i due to the non-interactive nature of OE tasks # - We do not allow -r, as it has known problems, and is marked # obsolescent in the standard # - We allow -a as shorthand for -RpP # - Otherwise, we stick to what SuSv3 defines source $(dirname $0)/wrapper.sh saved="" while getopts fpaRHLP opt; do case "$opt" in a) opt="RpP" ;; \?) exit 1 ;; esac save "-$opt" done shift $(($OPTIND - 1)) for arg; do save "$arg" done exec_real