public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/dotnet:master commit in: dev-dotnet/system-web-razor/
@ 2016-08-31  8:31 Mikhail Pukhlikov
  0 siblings, 0 replies; only message in thread
From: Mikhail Pukhlikov @ 2016-08-31  8:31 UTC (permalink / raw
  To: gentoo-commits

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() {


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-08-31  8:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-31  8:31 [gentoo-commits] proj/dotnet:master commit in: dev-dotnet/system-web-razor/ Mikhail Pukhlikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox