Aurélien Gâteau has proposed merging 
lp:~agateau/pbuilder/pbuilder-hooks-own-repo-fixes into 
lp:~kubuntu-packagers/pbuilder/pbuilder-hooks.

Requested reviews:
  Harald Sitter (apachelogger)

For more details, see:
https://code.launchpad.net/~agateau/pbuilder/pbuilder-hooks-own-repo-fixes/+merge/83979

Some fixes for the custom pool hook
-- 
https://code.launchpad.net/~agateau/pbuilder/pbuilder-hooks-own-repo-fixes/+merge/83979
Your team Kubuntu Members is subscribed to branch 
lp:~kubuntu-packagers/pbuilder/pbuilder-hooks.
=== modified file 'D09custompool'
--- D09custompool	2010-12-13 20:47:00 +0000
+++ D09custompool	2011-11-30 17:06:26 +0000
@@ -1,8 +1,8 @@
 #!/bin/sh
 
 if [ $POOL ]; then
-    if [ -z $POOLDIR ]; then
-        POOLDDIR=/usr/src/deb/pool
+    if [ -z "$POOLDIR" ]; then
+        POOLDIR=/usr/src/deb/pool
     fi
 
     cd $POOLDIR
@@ -12,10 +12,11 @@
     fi
 
     d=`pwd`
-    echo $d
+    echo "POOLDIR=$d"
     grep "$d" /etc/apt/sources.list > /dev/null 2>&1
 
     if [ "$?" != "0" ]; then
+        echo "POOLDIR not found in /etc/apt/sources.list, adding it"
         echo "deb file:$d ./" >> /etc/apt/sources.list
         echo "APT::Get::AllowUnauthenticated 1;" >> /etc/apt/apt.conf.d/allow-unauthenticated
 

=== modified file 'README'
--- README	2010-09-02 20:03:33 +0000
+++ README	2011-11-30 17:06:26 +0000
@@ -58,7 +58,7 @@
     used above. IMHO it actually makes sense to write a script for post_upload.
 
   * Once all is set up properly you should be able to use
-      deb file:/usr/src/deb/pool/jaunty jaunty ./
+      deb file:/usr/src/deb/pool/jaunty ./
     to use your package pool. It makes sense to change pbuilder's sources.list
     (sudo pbuilder login --save-after-login). If you don't add it manually, the
     hook will add it every time again and run the scan to make sure the

-- 
kubuntu-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/kubuntu-devel

Reply via email to