diff options
author | Trevor Johns <trevor@tjohns.net> | 2007-12-29 08:17:29 +0000 |
---|---|---|
committer | Trevor Johns <trevor@tjohns.net> | 2007-12-29 08:17:29 +0000 |
commit | 186d29d923ba41a90c063832d64c7ddbe057592d (patch) | |
tree | 8981ec87e53e0d32555c758fd474f66289233719 /admin/docblocks | |
parent | 9a78338b6bec9447d07c482c2535d495fd01d1a8 (diff) | |
download | php-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/docblocks | 2 |
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 |