dbus-hlid: bump
[openembedded.git] / bin / cp
blob0a523b79872e4af419d564cbd468823066b4c596
1 #!/bin/sh
3 # - We do not allow -i due to the non-interactive nature of OE tasks
4 # - We do not allow -r, as it has known problems, and is marked
5 # obsolescent in the standard
6 # - We allow -a as shorthand for -RpP
7 # - Otherwise, we stick to what SuSv3 defines
10 source $(dirname $0)/wrapper.sh
12 saved=""
13 while getopts fpaRHLP opt; do
14 case "$opt" in
16 opt="RpP"
18 \?)
19 exit 1
21 esac
22 save "-$opt"
23 done
24 shift $(($OPTIND - 1))
25 for arg; do
26 save "$arg"
27 done
29 exec_real