commit e602276f7fcda6b3de2297612567c583a893d1ce parent 31000baac9d3a0bcec7f60549b09b17a8d7eb3f8 Author: Kyle Milz <kyle@0x30.net> Date: Sat, 26 Nov 2016 12:08:52 -0700 tt/ccitrunrun: conditionalize obsd specific parts Diffstat:
M | tt/ccitrunrun.sh | | | 6 | ++++-- |
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tt/ccitrunrun.sh b/tt/ccitrunrun.sh @@ -2,8 +2,10 @@ # # Test that citrun run on itself works and the resulting binaries run. # -rm -rf /usr/ports/devel/ccitrunrun -cp -R distrib/openbsd/ccitrunrun /usr/ports/devel/ +if [ `uname` = "OpenBSD" ]; then + rm -rf /usr/ports/devel/ccitrunrun + cp -R distrib/openbsd/ccitrunrun /usr/ports/devel/ +fi . tt/package.subr "devel/ccitrunrun" plan 13