32a7cecedb
This no longer hard-codes the path to ar(1) as /usr/bin/ar. It is not possible to use the original value of $TOOLS_PATH.ar as it is usually not set.
13 lines
132 B
Bash
Executable file
13 lines
132 B
Bash
Executable file
#!/bin/sh
|
|
|
|
PATH="$_PATH_ORIG"
|
|
|
|
if [ $# -ge 2 ]; then
|
|
args="$1"
|
|
mod="$2"
|
|
shift 2
|
|
|
|
exec ar "$mod$args" "$@"
|
|
else
|
|
exec ar "$@"
|
|
fi
|