aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordancer <dancer>2001-08-23 15:49:44 +0000
committerdancer <dancer>2001-08-23 15:49:44 +0000
commit7a241364625f0c312db18c0cd8d71daca62683b9 (patch)
tree2f509bd85fb010bfd2823a44814d56d5d0d3eb73
parent359ac620e9d9d3c261fd6aa090ebe2a47291714a (diff)
downloadpbuilder-7a241364625f0c312db18c0cd8d71daca62683b9.tar
pbuilder-7a241364625f0c312db18c0cd8d71daca62683b9.tar.gz
further fixing.
-rwxr-xr-xpbuilder-buildpackage.sh12
1 files changed, 7 insertions, 5 deletions
diff --git a/pbuilder-buildpackage.sh b/pbuilder-buildpackage.sh
index 23aae80..bd56ae2 100755
--- a/pbuilder-buildpackage.sh
+++ b/pbuilder-buildpackage.sh
@@ -5,10 +5,12 @@ export LC_ALL=C
function copydsc () {
local DSCFILE=$1
local TARGET=$2
- cp $(echo $DSCFILE | sed 's/^\(.*\)\.dsc$/\1/' ).diff.gz \
- $(echo $DSCFILE | sed 's/^\(.*\)\.dsc$/\1/').tar.gz \
- $(echo $DSCFILE | sed 's/\(.*\)-[^-.]*\.dsc$/\1/').orig.tar.gz \
- $TARGET
+ cp \
+ "$DSCFILE" \
+ $(echo "$DSCFILE" | sed 's/^\(.*\)\.dsc$/\1/' ).diff.gz \
+ $(echo "$DSCFILE" | sed 's/^\(.*\)\.dsc$/\1/').tar.gz \
+ $(echo "$DSCFILE" | sed 's/\(.*\)-[^-.]*\.dsc$/\1/').orig.tar.gz \
+ $TARGET
}
function checkbuilddep () {
@@ -33,7 +35,7 @@ mkdir -p $BUILDPLACE
mkdir -p $BUILDPLACE/tmp/buildd
)
echo Copying source file
-copydsc $PACKAGENAME $BUILDPLACE/tmp/buildd
+copydsc "$PACKAGENAME" "$BUILDPLACE/tmp/buildd"
echo Extracting source
$CHROOTEXEC /usr/bin/dpkg-source -x $(basename $PACKAGENAME)
echo Installing the build-deps