From 3dda46dd7eab54d7e78e57719200656c63492d04 Mon Sep 17 00:00:00 2001 From: Omar Rizwan Date: Fri, 22 Jul 2022 13:25:00 -0400 Subject: proper print gating --- virtual-programs/print.folk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'virtual-programs') diff --git a/virtual-programs/print.folk b/virtual-programs/print.folk index 62d6a2a8..3076a229 100644 --- a/virtual-programs/print.folk +++ b/virtual-programs/print.folk @@ -1,4 +1,4 @@ -# if {[info hostname] != "folk0.local"} { return } +# if {[info hostname] != "folk0"} { return } if {[llength [namespace which tagImageForId]] < 1} { puts "RUNRUN [namespace which tagImageForId]" @@ -7,7 +7,7 @@ if {[llength [namespace which tagImageForId]] < 1} { source "pi/critclUtils.tcl" critcl::tcl 8.6 - if {[info hostname] == "folk0.local"} { + if {[info hostname] == "folk0"} { critcl::cflags -I/home/pi/apriltag -Wall -Werror critcl::clibraries /home/pi/apriltag/libapriltag.a } else { -- cgit v1.2.3