~dad-maintainers/dad/trunk

« back to all changes in this revision

Viewing changes to update

  • Committer: Adrien Cunin
  • Date: 2007-10-21 16:15:40 UTC
  • Revision ID: adri2000@ubuntu.com-20071021161540-w28uf4n696oov9p0
stupid me... $PWD is not the same after cd foo

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
tomerge="tomerge-$SECTION"
9
9
tmpfile="./update-$SECTION"
10
10
MERGES=$3
 
11
pwd="$PWD"
11
12
 
12
13
echo "Let's update $SECTION"
13
14
 
37
38
cd pre-process && ./listmerges $DIST $SECTION $MERGES && cd ..
38
39
 
39
40
echo "Merging..."
40
 
cd process && pwd="$PWD" DIST="$DIST" ./merge $SECTION $MERGES && cd .. && sort $MERGES/$tomerge -o $MERGES/$tomerge
 
41
cd process && pwd="$pwd" DIST="$DIST" ./merge $SECTION $MERGES && cd .. && sort $MERGES/$tomerge -o $MERGES/$tomerge
41
42
 
42
43
echo "Cleaning up"
43
44
cd post-process && ./cleanup $SECTION $MERGES && cd ..