Skip to content

Instantly share code, notes, and snippets.

View stevearc's full-sized avatar

Steven Arcangeli stevearc

View GitHub Profile
#!/usr/bin/env bash -e
get_p4_url() {
local os=$(uname -o)
if [[ "$os" =~ Linux ]]; then
echo "http://cdist2.perforce.com/perforce/r14.2/bin.linux26x86_64/p4"
else
echo "http://cdist2.perforce.com/perforce/r14.2/bin.macosx105x86/p4"
fi
}