Commit d34467c6 authored by Vitaly Lipatov's avatar Vitaly Lipatov

small fixes

parent 766ff340
...@@ -429,7 +429,7 @@ do ...@@ -429,7 +429,7 @@ do
git commit -m "just import $FTB with rpmgs script" git commit -m "just import $FTB with rpmgs script"
fi fi
else else
is_gear && echo "Skip tarball committing (run with version or with -f)." is_gear && echo "Skip tarball committing (run with version or with -f option)."
fi fi
done done
......
...@@ -60,7 +60,7 @@ drop_args() ...@@ -60,7 +60,7 @@ drop_args()
local ARGS="$1" local ARGS="$1"
shift shift
local LISTIGNORE="$@" local LISTIGNORE="$@"
echo "$ARGS" | sed -e "s|-[${LISTIGNORE/ /}]||g" | sed -e "s| \+| |g" | filter_strip_spaces echo "$ARGS" | sed -e "s|-[${LISTIGNORE/ /}]||g" | filter_strip_spaces
#echo "$ARGS" | \ #echo "$ARGS" | \
# ( for i in $LISTIGNORE ; do sed -e "s|-$i||g" ; done ) #| sed -e "s| +| |g" # ( for i in $LISTIGNORE ; do sed -e "s|-$i||g" ; done ) #| sed -e "s| +| |g"
} }
......
...@@ -17,3 +17,4 @@ check 5 "" "$(drop_args " -h -U " h U)" ...@@ -17,3 +17,4 @@ check 5 "" "$(drop_args " -h -U " h U)"
check 6 "" "$(drop_args " -h -U " U h)" check 6 "" "$(drop_args " -h -U " U h)"
check 7 "-z" "$(drop_args "-v -n -z" v n)" check 7 "-z" "$(drop_args "-v -n -z" v n)"
check 8 "" "$(drop_args "$*" v n)" check 8 "" "$(drop_args "$*" v n)"
check 9 "" "$(drop_args "" f a t)"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment