[CalendarServer-changes] [14869] CalendarServer/trunk/bin/_py.sh
source_changes at macosforge.org
source_changes at macosforge.org
Thu Jun 4 10:25:23 PDT 2015
Revision: 14869
http://trac.calendarserver.org//changeset/14869
Author: wsanchez at apple.com
Date: 2015-06-04 10:25:23 -0700 (Thu, 04 Jun 2015)
Log Message:
-----------
Uh, test the correct variable.
Modified Paths:
--------------
CalendarServer/trunk/bin/_py.sh
Modified: CalendarServer/trunk/bin/_py.sh
===================================================================
--- CalendarServer/trunk/bin/_py.sh 2015-06-01 23:22:04 UTC (rev 14868)
+++ CalendarServer/trunk/bin/_py.sh 2015-06-04 17:25:23 UTC (rev 14869)
@@ -20,7 +20,7 @@
local path="$(type "${cmd}" 2>/dev/null | sed "s|^${cmd} is \(a tracked alias for \)\{0,1\}||")";
- if [ -z "${cmd}" ]; then
+ if [ -z "${path}" ]; then
return 1;
fi;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20150604/2791e252/attachment.html>
More information about the calendarserver-changes
mailing list