summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSage Weil <sage@redhat.com>2014-07-31 22:42:58 +0200
committerSage Weil <sage@redhat.com>2014-07-31 22:42:58 +0200
commit1670fd63fdbe5efb8e77fee7e343fdd0171e8016 (patch)
tree80f762784f40d2d7bb556309748259aa9913b0b7 /src
parentyasm-wrapper: echo original args (diff)
downloadceph-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')
-rwxr-xr-xsrc/yasm-wrapper7
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 )