]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
yasm-wrapper: turn -I foo into -i foo
authorSage Weil <sage@redhat.com>
Thu, 31 Jul 2014 20:42:58 +0000 (13:42 -0700)
committerSage Weil <sage@redhat.com>
Thu, 31 Jul 2014 20:42:58 +0000 (13:42 -0700)
Signed-off-by: Sage Weil <sage@redhat.com>
src/yasm-wrapper

index c23f4452d0b0d83ed7c61d15309395e515ae012f..4b6a6525f63af1eff9a840a78cbf10fe8a178346 100755 (executable)
@@ -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 )