[CalendarServer-changes] [14631] CalendarServer/trunk/bin
source_changes at macosforge.org
source_changes at macosforge.org
Sat Mar 28 21:58:16 PDT 2015
Revision: 14631
http://trac.calendarserver.org//changeset/14631
Author: dre at apple.com
Date: 2015-03-28 21:58:16 -0700 (Sat, 28 Mar 2015)
Log Message:
-----------
'==' is a bashism, and is an alias for '='. On Ubuntu, dash is sh, and it doesn't like '=='
Modified Paths:
--------------
CalendarServer/trunk/bin/caldavd
CalendarServer/trunk/bin/dependencies
CalendarServer/trunk/bin/package
CalendarServer/trunk/bin/run
CalendarServer/trunk/bin/test
CalendarServer/trunk/bin/testpods
CalendarServer/trunk/bin/testserver
Modified: CalendarServer/trunk/bin/caldavd
===================================================================
--- CalendarServer/trunk/bin/caldavd 2015-03-27 01:15:56 UTC (rev 14630)
+++ CalendarServer/trunk/bin/caldavd 2015-03-29 04:58:16 UTC (rev 14631)
@@ -96,7 +96,7 @@
echo " -p Path to the desired pstats file.";
echo " -R The Twisted Reactor to run [${reactor}]";
- if [ "${1-}" == "-" ]; then return 0; fi;
+ if [ "${1-}" = "-" ]; then return 0; fi;
exit 64;
}
Modified: CalendarServer/trunk/bin/dependencies
===================================================================
--- CalendarServer/trunk/bin/dependencies 2015-03-27 01:15:56 UTC (rev 14630)
+++ CalendarServer/trunk/bin/dependencies 2015-03-29 04:58:16 UTC (rev 14631)
@@ -56,7 +56,7 @@
echo " -n Output a nested list (default)";
echo " -l Output a simple list";
- if [ "${1-}" == "-" ]; then return 0; fi;
+ if [ "${1-}" = "-" ]; then return 0; fi;
exit 64;
}
Modified: CalendarServer/trunk/bin/package
===================================================================
--- CalendarServer/trunk/bin/package 2015-03-27 01:15:56 UTC (rev 14630)
+++ CalendarServer/trunk/bin/package 2015-03-29 04:58:16 UTC (rev 14631)
@@ -57,7 +57,7 @@
echo " -f Force setup to run";
echo " -n Do not run setup";
- if [ "${1-}" == "-" ]; then
+ if [ "${1-}" = "-" ]; then
return 0;
fi;
exit 64;
Modified: CalendarServer/trunk/bin/run
===================================================================
--- CalendarServer/trunk/bin/run 2015-03-27 01:15:56 UTC (rev 14630)
+++ CalendarServer/trunk/bin/run 2015-03-29 04:58:16 UTC (rev 14631)
@@ -77,7 +77,7 @@
echo " -P Select the twistd plugin name [${plugin_name}]";
echo " -R Twisted Reactor plugin to execute [${reactor}]";
- if [ "${1-}" == "-" ]; then
+ if [ "${1-}" = "-" ]; then
return 0;
fi;
exit 64;
@@ -153,7 +153,7 @@
mkdir "${wd}/data";
fi;
- #if [ "$(uname -s)" == "Darwin" ] && [ "$(uname -r | cut -d . -f 1)" -ge 9 ]; then
+ #if [ "$(uname -s)" = "Darwin" ] && [ "$(uname -r | cut -d . -f 1)" -ge 9 ]; then
# caldavd_wrapper_command="launchctl /";
#else
caldavd_wrapper_command="";
Modified: CalendarServer/trunk/bin/test
===================================================================
--- CalendarServer/trunk/bin/test 2015-03-27 01:15:56 UTC (rev 14630)
+++ CalendarServer/trunk/bin/test 2015-03-29 04:58:16 UTC (rev 14631)
@@ -47,7 +47,7 @@
numjobs="";
reactor="";
-if [ "$(uname -s)" == "Darwin" ]; then
+if [ "$(uname -s)" = "Darwin" ]; then
reactor="--reactor=kqueue";
fi;
@@ -67,7 +67,7 @@
echo " -c Generate coverage reports.";
echo " -L Show logging output in a separate view.";
- if [ "${1-}" == "-" ]; then return 0; fi;
+ if [ "${1-}" = "-" ]; then return 0; fi;
exit 64;
}
Modified: CalendarServer/trunk/bin/testpods
===================================================================
--- CalendarServer/trunk/bin/testpods 2015-03-27 01:15:56 UTC (rev 14630)
+++ CalendarServer/trunk/bin/testpods 2015-03-29 04:58:16 UTC (rev 14631)
@@ -57,7 +57,7 @@
echo " -z Use SSL.";
echo " -D Turn on CalDAVTester debugging";
- if [ "${1-}" == "-" ]; then return 0; fi;
+ if [ "${1-}" = "-" ]; then return 0; fi;
exit 64;
}
@@ -79,7 +79,7 @@
shift $((${OPTIND} - 1));
-if [ $# == 0 ]; then
+if [ $# = 0 ]; then
set - "--all";
fi;
Modified: CalendarServer/trunk/bin/testserver
===================================================================
--- CalendarServer/trunk/bin/testserver 2015-03-27 01:15:56 UTC (rev 14630)
+++ CalendarServer/trunk/bin/testserver 2015-03-29 04:58:16 UTC (rev 14631)
@@ -57,7 +57,7 @@
echo " -z Use SSL.";
echo " -D Turn on CalDAVTester debugging";
- if [ "${1-}" == "-" ]; then return 0; fi;
+ if [ "${1-}" = "-" ]; then return 0; fi;
exit 64;
}
@@ -79,7 +79,7 @@
shift $((${OPTIND} - 1));
-if [ $# == 0 ]; then
+if [ $# = 0 ]; then
set - "--all";
fi;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20150328/344a0c7b/attachment.html>
More information about the calendarserver-changes
mailing list