Permalink
Browse files

sed only files, not directories

sed will complain otherwise :)
  • Loading branch information...
1 parent ec4637d commit 831e65b1e451039355c3524cb69318f530ba2d51 @evgeni evgeni committed Sep 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 ipc/get.sh
View
@@ -17,7 +17,7 @@ sed -i "s/= ipc/= $var/g" $name-ipc/build/Makefile.in
sed -i "s/= ipc/= $var/g" $name-ipc/public/Makefile.in
sed -i "s/$var-pipe/$var/g" $name-ipc/build/Makefile.in
sed -i "s/$var-pipe/$var/g" $name-ipc/public/Makefile.in
-sed -i "s/mozilla.org\/ipc/$domain\/ipc/g" $name-ipc/*/*
+find $name-ipc -type f |grep -v '/.hg' |xargs sed -i "s/mozilla.org\/ipc/$domain\/ipc/g"
cat << EOF > chrome.manifest
resource $name modules/

0 comments on commit 831e65b

Please sign in to comment.