blob: 0a523b79872e4af419d564cbd468823066b4c596 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/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
|