diff options
author | Sage Weil <sage@redhat.com> | 2014-07-31 22:42:58 +0200 |
---|---|---|
committer | Sage Weil <sage@redhat.com> | 2014-07-31 22:42:58 +0200 |
commit | 1670fd63fdbe5efb8e77fee7e343fdd0171e8016 (patch) | |
tree | 80f762784f40d2d7bb556309748259aa9913b0b7 /src/yasm-wrapper | |
parent | yasm-wrapper: echo original args (diff) | |
download | ceph-1670fd63fdbe5efb8e77fee7e343fdd0171e8016.tar.xz ceph-1670fd63fdbe5efb8e77fee7e343fdd0171e8016.zip |
yasm-wrapper: turn -I foo into -i foo
Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'src/yasm-wrapper')
-rwxr-xr-x | src/yasm-wrapper | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/yasm-wrapper b/src/yasm-wrapper index c23f4452d0b..4b6a6525f63 100755 --- a/src/yasm-wrapper +++ b/src/yasm-wrapper @@ -12,7 +12,12 @@ while [ -n "$*" ]; do new="-f $1" shift ;; - -g* | -f* | -W* | -MD | -MP | -fPIC | -c | -D* | --param* | -O* | -I* | -m* | -pipe ) + -g* | -f* | -W* | -MD | -MP | -fPIC | -c | -D* | --param* | -O* | -m* | -pipe ) + shift + ;; + -I ) + shift + new="$new -i $1" shift ;; -MT ) |