aboutsummaryrefslogtreecommitdiffstats
path: root/bin/install
blob: 4ad8172af854e2cb8806cc28dce448d689596af8 (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
#!/bin/sh

source $(dirname $0)/wrapper.sh

saved=""
while getopts dbCcMpSsvB:f:g:m:o: opt; do
    case "$opt" in
        s)
            # Ignore strip argument
            ;;
        B|f|g|m|o)
            save "-$opt"
            save "$OPTARG"
            ;;
        \?)
            exit 1
            ;;
        *)
            save "-$opt"
            ;;
    esac
done
shift $(($OPTIND - 1))
for arg; do
    save "$arg"
done

exec_real