[packages/phpenv] one more replace to handle .ruby-version -> .php-version

glen glen at pld-linux.org
Sun Nov 30 20:37:38 CET 2014


commit c0a21694f958c623979b6cd9e60a9e1709915022
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Nov 30 21:37:29 2014 +0200

    one more replace to handle .ruby-version -> .php-version

 phpenv.spec | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/phpenv.spec b/phpenv.spec
index 0716362..4ea5f33 100644
--- a/phpenv.spec
+++ b/phpenv.spec
@@ -44,7 +44,12 @@ for f in bin/rbenv* completions/rbenv* libexec/rbenv*; do
 done
 
 # Remove all rbenv/Ruby from phpenv prefixed files
-sed -i -e 's/rbenv/phpenv/g' -e 's/RBENV/PHPENV/g' -e 's/Ruby/PHP/g' completions/phpenv* libexec/phpenv*
+sed -i \
+	-e 's/rbenv/phpenv/g' \
+	-e 's/RBENV/PHPENV/g' \
+	-e 's/Ruby/PHP/g' \
+	-e 's/ruby/php/g' \
+	completions/phpenv* libexec/phpenv*
 
 # Fix the version
 cat <<'SH' > libexec/phpenv---version
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/phpenv.git/commitdiff/c0a21694f958c623979b6cd9e60a9e1709915022



More information about the pld-cvs-commit mailing list