From 91e9687bd3a9758a5a4ae2f5e4ffcffcd5c70cd9 Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Fri, 2 May 2014 19:49:08 +0100 Subject: Update jhbuild_patches_collect for changed xorg.modules names --- jhbuild_patches_collect | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/jhbuild_patches_collect b/jhbuild_patches_collect index 0a6f9e4..fd22c20 100755 --- a/jhbuild_patches_collect +++ b/jhbuild_patches_collect @@ -1,12 +1,15 @@ -#!/bin/sh +#!/bin/bash O=`pwd`/collected-patches mkdir -p $O rm -f $O/* M=`pwd`/checkout +IFS=$'\n' -for i in `jhbuild -f jhbuildrc list` ; do - D=`jhbuild -f jhbuildrc run --in-checkoutdir=$i -- bash -c 'pwd' 2>/dev/null` +LIST=`jhbuild -f jhbuildrc list` + +for i in $LIST ; do + D=`jhbuild -f jhbuildrc run --in-checkoutdir="$i" -- bash -c 'pwd' 2>/dev/null` D=`echo $D | tr '\n' ' ' ` D=${D%% *} # echo "$i: $D" -- cgit v1.2.3