[frogr] Fix issues in generate-SOURCES script
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] Fix issues in generate-SOURCES script
- Date: Thu, 20 Dec 2012 10:27:25 +0000 (UTC)
commit 0a270f12197c8f29bdcecb4e92ecc2e8ba2ff821
Author: Mario Sanchez Prada <msanchez gnome org>
Date: Thu Dec 20 11:10:32 2012 +0100
Fix issues in generate-SOURCES script
osx/generate-SOURCES | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/osx/generate-SOURCES b/osx/generate-SOURCES
index d9f421b..ef2f22e 100755
--- a/osx/generate-SOURCES
+++ b/osx/generate-SOURCES
@@ -4,11 +4,13 @@
# source code for frogr and all its dependencies (patches included)
# used to build the DMG file to distribute the app for Mac OS X
#
-app_name="frogr"
-JHB="$app_name"
+
+export JHB="frogr"
+
jhb_cmd="$HOME/.local/bin/jhbuild"
frogr_moduleset="jhbuild/frogr.modules"
output_file="SOURCES.new"
+app_name="frogr"
echo "Extracting information for modules..."
modules_list=$($jhb_cmd list $app_name)
@@ -70,7 +72,7 @@ do
# Check whether there are patches applied for this module
module_patches=$(cat $frogr_moduleset \
- | grep -e "file=" | grep ${modules_names[$index]} | grep -e "\.patch\"" \
+ | grep -e "file=" | grep -e "patches/${modules_names[$index]}-" | grep -e "\.patch\"" \
| cut -d "\"" -f 2)
if [ "x$module_patches" != "x" ]; then
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]