[Pkg-mozext-commits] [jpm.sh] 30/43: Fixed the debugging code trimmer

Hema Prathaban hemaprathaban-guest at moszumanska.debian.org
Thu Aug 17 07:52:36 UTC 2017


This is an automated email from the git hooks/post-receive script.

hemaprathaban-guest pushed a commit to branch master
in repository jpm.sh.

commit 6a5a322d0559d45b8d5c5cfcbf672da2d80ceb7e
Author: nord-stream <nord-stream at ochaken.jp.eu.org>
Date:   Thu Mar 17 11:51:43 2016 +0000

    Fixed the debugging code trimmer
---
 lib/xpi.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/xpi.sh b/lib/xpi.sh
index cd05b9f..abb277a 100644
--- a/lib/xpi.sh
+++ b/lib/xpi.sh
@@ -93,7 +93,7 @@ jpmXpiBuild () (
 		jpmConsoleLog "xpi-build: Excluding development files..."
 		rm -fr "$buildDir/debug.js" "$buildDir/data/debug" >&2
 		
-		preprocess_sed='s|^\s\{0,\}/*!_DEBUGONLY_!*/.*||'
+		preprocess_sed='s|^\s\{0,\}/\*!_DEBUGONLY_!.*||'
 		find "$buildDir" -name '*.js' -exec \
 			sh -c 'sed "$1" < "$2" > "$2.tmp" && mv -f "$2.tmp" "$2"' \
 				-- "$preprocess_sed" {} \;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/jpm.sh.git



More information about the Pkg-mozext-commits mailing list