* pbuilder-dist:

- Fixed minor bash syntax error
   - Removed quotes around the path when using --aptconfdir, otherwise
     pbuilder create fails
This commit is contained in:
Adrien Cunin 2008-03-02 15:33:10 +01:00
parent 632f7bb274
commit b2903d5b7e
2 changed files with 7 additions and 3 deletions

6
debian/changelog vendored
View File

@ -1,6 +1,10 @@
ubuntu-dev-tools (0.28) UNRELEASED; urgency=low
*
[ Adrien Cunin ]
* pbuilder-dist:
- Fixed minor bash syntax error
- Removed quotes around the path when using --aptconfdir, otherwise
pbuilder create fails
-- Siegfried-Angel Gevatter Pujals (RainCT) <rainct@ubuntu.com> Sun, 24 Feb 2008 19:52:06 +0100

View File

@ -245,7 +245,7 @@ then
fi
# Determine wheter system cache should be used or not.
if [ $SYSCACHE = 1 ] && [ "$SYSDIST" = "$DISTRIBUTION" ] && [ "$REALARCH" = "$ARCHITECTURE"]
if [ $SYSCACHE = 1 ] && [ "$SYSDIST" = "$DISTRIBUTION" ] && [ "$REALARCH" = "$ARCHITECTURE" ]
then
DEBCACHE='/var/cache/apt/archives/'
fi
@ -306,5 +306,5 @@ $( [ -z "$PROXY" ] || echo "--http-proxy ${PROXY}" ) \
$( [ -z "$DEBCACHE" ] || echo "--aptcache ${DEBCACHE}" ) \
--buildresult "${BASE_DIR}/${FOLDERBASE}_result" \
--mirror "${ARCHIVE}" \
$( [ $ISDEBIAN != "False" ] || echo "--aptconfdir \"${BASE_DIR}/etc/${DISTRIBUTION}/apt.conf/\"" ) \
$( [ $ISDEBIAN != "False" ] || echo "--aptconfdir ${BASE_DIR}/etc/${DISTRIBUTION}/apt.conf/" ) \
$@