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 fi
if [ -n "$1" ]; then if [ -n "$1" ]; then
exec $RC $@ exec $RC "$@"
else else
true true
fi fi

View File

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