Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Commit

Permalink
scp-to-http: use better OS X detection.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Dec 17, 2014
1 parent 979a060 commit f6b2fac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scp-to-http.sh
Expand Up @@ -22,7 +22,7 @@ scp "$FILEPATH" "$SCP"

echo "$FILEPATH uploaded to $HTTP"

if [ $OSX ]
if [ $(uname -s) = "Darwin" ]
then
echo $HTTP | pbcopy
echo "URL copied to clipboard."
Expand Down

0 comments on commit f6b2fac

Please sign in to comment.