aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-08-22 23:19:13 -0400
committerMike Frysinger <vapier@gentoo.org>2010-08-22 23:19:13 -0400
commit220061176772d499aef0e3811190cc57d666f689 (patch)
treea748d81a90db5d3c61f17d8fe58cf9162565fa24
parentadd a small test framework (diff)
downloadrpm2targz-220061176772d499aef0e3811190cc57d666f689.tar.gz
rpm2targz-220061176772d499aef0e3811190cc57d666f689.tar.bz2
rpm2targz-220061176772d499aef0e3811190cc57d666f689.zip
rpm2targz: avoid double deletion of workdir
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rwxr-xr-xrpm2targz3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpm2targz b/rpm2targz
index 1fe7a3a..d32300c 100755
--- a/rpm2targz
+++ b/rpm2targz
@@ -196,6 +196,7 @@ for file; do
rm -rf "${DEST}"
done
-rm -rf "${WORKDIR}"
+# No need for this as the trap will take care of it
+#rm -rf "${WORKDIR}"
exit ${ret}