summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorJosh Hoyt <josh@janrain.com>2006-01-04 23:02:40 +0000
committerJosh Hoyt <josh@janrain.com>2006-01-04 23:02:40 +0000
commit77a933249ae386dade8a69971898f4f92bebe386 (patch)
treea6f80bcd5aa9fdacf2bc8b2b66978935c8e21729 /admin
parent48ce37bd79db6ab697f73153ea875c63f6a59d4b (diff)
downloadphp-openid-77a933249ae386dade8a69971898f4f92bebe386.zip
php-openid-77a933249ae386dade8a69971898f4f92bebe386.tar.gz
php-openid-77a933249ae386dade8a69971898f4f92bebe386.tar.bz2
[project @ Add compatibility for Debian stable xargs (no -I flag)]
Diffstat (limited to 'admin')
-rw-r--r--admin/nolonglines3
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/nolonglines b/admin/nolonglines
index 20b4336..231c902 100644
--- a/admin/nolonglines
+++ b/admin/nolonglines
@@ -1,9 +1,10 @@
#!/usr/bin/env bash
+set -e
files_with_long_lines=$(find Net Tests -name \*.php |
xargs -l1 wc -L |
awk '$1 > 80 { print $2 }' |
- xargs -l1 -I FILENAME /usr/bin/env perl admin/longlines.pl FILENAME 80)
+ xargs -l1 --replace=FILENAME /usr/bin/env perl admin/longlines.pl FILENAME 80)
if [ "$files_with_long_lines" ]
then