diff --git a/bin/pbcopy_l b/bin/pbcopy_l index bc9f478..a6c38cf 100755 --- a/bin/pbcopy_l +++ b/bin/pbcopy_l @@ -1,8 +1,8 @@ #!/bin/sh OS=$(uname) -if [ "$OS" == "Linux" -o "$OS" == "FreeBSD" ] ; then +if [ "$OS" = "Linux" -o "$OS" = "FreeBSD" ] ; then xsel -i -b -elif [ "$(uname)" == "Darwin" ] ; then +elif [ "$(uname)" = "Darwin" ] ; then /usr/bin/pbcopy $* else echo "Unknown OS." diff --git a/bin/pbpaste_l b/bin/pbpaste_l index cbf24dd..d959eca 100755 --- a/bin/pbpaste_l +++ b/bin/pbpaste_l @@ -1,8 +1,8 @@ #!/bin/sh OS=$(uname) -if [ "$OS" == "Linux" -o "$OS" == "FreeBSD" ] ; then +if [ "$OS" = "Linux" -o "$OS" = "FreeBSD" ] ; then xsel -o -b -elif [ "$(uname)" == "Darwin" ] ; then +elif [ "$(uname)" = "Darwin" ] ; then /usr/bin/pbpaste $* else echo "Unknown OS."