bitbake.conf: define shared PERSISTENT_DIR
[openembedded.git] / bin / install
blobab316f61a4a03a35f2f10a8140ae1ba81cf7c92f
1 #!/bin/sh
3 . $(dirname $0)/wrapper.sh
5 saved=""
6 while getopts dbCcMpSsvB:f:g:m:o:D opt; do
7 case "$opt" in
8 s)
9 # Ignore strip argument
11 B|f|g|m|o)
12 save "-$opt"
13 save "$OPTARG"
16 createleading="1"
18 \?)
19 exit 1
22 save "-$opt"
24 esac
25 done
26 shift $(($OPTIND - 1))
27 for arg; do
28 save "$arg"
29 done
31 if [ $# -eq 2 -a -n "$createleading" ]; then
32 install -d $(dirname $2)
35 exec_real