diff options
author | dancer <dancer> | 2002-12-15 04:05:08 +0000 |
---|---|---|
committer | dancer <dancer> | 2002-12-15 04:05:08 +0000 |
commit | 3d681c0b61c40ff3ae07cedbe561ea4c3c6cdcb5 (patch) | |
tree | 716321d15cbb41d8cc91d012a61b9d4298cab8c7 /pbuilder-modules | |
parent | b250aa16c7d35005a50593d17884b6aa1309e57a (diff) | |
download | pbuilder-3d681c0b61c40ff3ae07cedbe561ea4c3c6cdcb5.tar pbuilder-3d681c0b61c40ff3ae07cedbe561ea4c3c6cdcb5.tar.gz |
do not read-lock
Diffstat (limited to 'pbuilder-modules')
-rw-r--r-- | pbuilder-modules | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/pbuilder-modules b/pbuilder-modules index 060c7a7..e1f20ff 100644 --- a/pbuilder-modules +++ b/pbuilder-modules @@ -187,23 +187,15 @@ function extractbuildplace () { echo "E: failed to build the directory to chroot" exit 1 fi - while [ -f "${BASETGZ}.tmp" ]; do - echo " -> Someone else has lock over ${BASETGZ}.tmp, waiting" - sleep 10s - done - touch "${BASETGZ}.tmp" echo " -> extracting base tarball [${BASETGZ}]" if [ ! -f "$BASETGZ" ]; then echo "E: failed to find $BASETGZ, have you done <pbuilder create> to create your base tarball yet?" - rm -f "${BASETGZ}.tmp" exit 1 fi if ! (cd "$BUILDPLACE" && tar xfzp "$BASETGZ"); then echo "E: failed to extract $BASETGZ to $BUILDPLACE" - rm -f "${BASETGZ}.tmp" exit 1 fi - rm -f "${BASETGZ}.tmp" echo " -> creating local configuration" hostname -f > "$BUILDPLACE/etc/mailname" fi |