summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-08-22 14:20:57 -0700
committerSage Weil <sage@inktank.com>2013-08-22 14:56:21 -0700
commit98583b59aaae509411dc66e7190bf14fd28082a1 (patch)
tree24e276dc7c4767eabf85c1d4df27ee0622f58f28
parent5c5980bc84c6f99e069d97d7f553187904e8d5a8 (diff)
downloadceph-98583b59aaae509411dc66e7190bf14fd28082a1.tar.gz
yasm-wrapper: more futzing to behave on fedora 19
Some new arguments, and behave (return success) when the touch target isn't specified. Signed-off-by: Sage Weil <sage@inktank.com>
-rwxr-xr-xsrc/yasm-wrapper6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/yasm-wrapper b/src/yasm-wrapper
index 8364d49599f..57d95def46e 100755
--- a/src/yasm-wrapper
+++ b/src/yasm-wrapper
@@ -11,7 +11,7 @@ while [ -n "$*" ]; do
new="-f $1"
shift
;;
- -g | -f* | -W* | -MD | -MP | -fPIC | -c | -D* | --param* | -O* | -I* )
+ -g* | -f* | -W* | -MD | -MP | -fPIC | -c | -D* | --param* | -O* | -I* | -m* | -pipe )
shift
;;
-MT )
@@ -30,7 +30,9 @@ while [ -n "$*" ]; do
esac
done
-echo yasm $new
+echo $0: yasm $new
yasm $new
[ -n "$touch" ] && touch $touch
+
+true \ No newline at end of file