commit:     bc45c70cd67fc7986a550b1b2350c7557a492d7a
Author:     ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com>
AuthorDate: Tue Aug 30 22:07:32 2016 +0000
Commit:     Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
CommitDate: Tue Aug 30 22:07:32 2016 +0000
URL:        https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=bc45c70c

repoman fixes

 .../system-web-razor-3.2.3_p2014092400.ebuild      | 26 +++++++++++-----------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git 
a/dev-dotnet/system-web-razor/system-web-razor-3.2.3_p2014092400.ebuild 
b/dev-dotnet/system-web-razor/system-web-razor-3.2.3_p2014092400.ebuild
index 46efc4d..e084cf9 100644
--- a/dev-dotnet/system-web-razor/system-web-razor-3.2.3_p2014092400.ebuild
+++ b/dev-dotnet/system-web-razor/system-web-razor-3.2.3_p2014092400.ebuild
@@ -52,20 +52,20 @@ src_prepare() {
 
 patch_nuspec_file()
 {
-    if use nupkg; then
-       if use debug; then
-           DIR="Debug"
-       else
-           DIR="Release"
+       if use nupkg; then
+               if use debug; then
+                       DIR="Debug"
+               else
+                       DIR="Release"
+               fi
+               FILES_STRING=`sed 's/[\/&]/\\\\&/g' <<-EOF || die "escaping 
replacement string characters"
+                 <files> <!-- https://docs.nuget.org/create/nuspec-reference 
-->
+                   <file src="${DLL_PATH}/${DIR}/${DLL_NAME}.dll*" 
target="lib/net45/" />
+                 </files>
+               EOF
+               `
+               sed -i 's/<\/package>/'"${FILES_STRING//$'\n'/\\$'\n'}"'\n&/g' 
$1 || die "escaping line endings"
        fi
-       FILES_STRING=`sed 's/[\/&]/\\\\&/g' <<-EOF || die "escaping replacement 
string characters"
-         <files> <!-- https://docs.nuget.org/create/nuspec-reference -->
-           <file src="${DLL_PATH}/${DIR}/${DLL_NAME}.dll*" target="lib/net45/" 
/>
-         </files>
-       EOF
-       `
-       sed -i 's/<\/package>/'"${FILES_STRING//$'\n'/\\$'\n'}"'\n&/g' $1 || 
die "escaping line endings"
-    fi
 }
 
 src_compile() {

Reply via email to