diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2014-05-02 19:49:08 +0100 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2014-05-02 19:49:08 +0100 |
commit | 91e9687bd3a9758a5a4ae2f5e4ffcffcd5c70cd9 (patch) | |
tree | 5c498f6fd2ccfdbb5495ae6483880aaba06f15ae | |
parent | ee5a1736c62c6ba16b12393c952b9fa53d47e9ea (diff) |
Update jhbuild_patches_collect for changed xorg.modules names
-rwxr-xr-x | jhbuild_patches_collect | 9 |
1 files 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" |