bin: fix string comparison in pbcopy_l/pbpaste_l
This commit is contained in:
@@ -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."
|
||||
|
||||
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user