summaryrefslogtreecommitdiffstats
path: root/admin/docblocks
diff options
context:
space:
mode:
authorTrevor Johns <trevor@tjohns.net>2007-12-29 08:17:29 +0000
committerTrevor Johns <trevor@tjohns.net>2007-12-29 08:17:29 +0000
commit186d29d923ba41a90c063832d64c7ddbe057592d (patch)
tree8981ec87e53e0d32555c758fd474f66289233719 /admin/docblocks
parent9a78338b6bec9447d07c482c2535d495fd01d1a8 (diff)
downloadphp-openid-186d29d923ba41a90c063832d64c7ddbe057592d.zip
php-openid-186d29d923ba41a90c063832d64c7ddbe057592d.tar.gz
php-openid-186d29d923ba41a90c063832d64c7ddbe057592d.tar.bz2
[project @ Update admin scripts to run under Mac OS X]
The scripts in admin use several non-POSIX arguments which do not work on Mac OS X. See my original post to dev@openidenabled.com: message://%3C5902A542-C723-4F0A-8478-1F33C874D1B8@tjohns.net%3E http://lists.openidenabled.com/pipermail/dev/2007-December/000979.html This patch makes the following changes to fix this: - Changed $HERE in admin/runtests to avoid calling readlink. - Calls to xargs now use '-L 1' instead of '-l1'. - Calls to 'wc -L' were eliminated.
Diffstat (limited to 'admin/docblocks')
-rw-r--r--admin/docblocks2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/docblocks b/admin/docblocks
index 6764ff1..a7f05c3 100644
--- a/admin/docblocks
+++ b/admin/docblocks
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
#set -e
-bad_files=$(./admin/findphp | xargs -l1 /usr/bin/env perl admin/docblocks.pl)
+bad_files=$(./admin/findphp | xargs -L 1 /usr/bin/env perl admin/docblocks.pl)
if [ "$bad_files" ]
then