Quote $@ in some places.

This commit is contained in:
Kris Maglione 2007-04-05 14:15:15 -04:00
parent cdf2755129
commit 8b38c3cbd7
2 changed files with 5 additions and 5 deletions

View File

@ -13,7 +13,7 @@ if [ ! -n "$RC" ]; then
fi
if [ -n "$1" ]; then
exec $RC $@
exec $RC "$@"
else
true
fi

View File

@ -49,8 +49,8 @@ eventstuff() {
exit;
esac
Event Key
fn=$(echo $@ | sed 's/[^a-zA-Z_0-9]/_/g')
Key_$fn $@
fn=$(echo "$@" | sed 's/[^a-zA-Z_0-9]/_/g')
Key_$fn "$@"
Event CreateTag
echo "$WMII_NORMCOLORS" "$@" | wmiir create "/lbar/$@"
Event DestroyTag
@ -170,8 +170,8 @@ unset IFS
Action() {
action=$1; shift
if [ -n "$action" ]; then
Action_$action $@ \
|| conf_which $action $@
Action_$action "$@" \
|| conf_which $action "$@"
fi
}