Revision: 2870
http://ipcop.svn.sourceforge.net/ipcop/?rev=2870&view=rev
Author: gespinasse
Date: 2009-05-19 00:17:44 +0000 (Tue, 19 May 2009)
Log Message:
-----------
In case of error, suppress TMPDIR if it is still there
Modified Paths:
--------------
ipcop/trunk/src/scripts/mkinitramfs
Modified: ipcop/trunk/src/scripts/mkinitramfs
===================================================================
--- ipcop/trunk/src/scripts/mkinitramfs 2009-05-18 20:06:24 UTC (rev 2869)
+++ ipcop/trunk/src/scripts/mkinitramfs 2009-05-19 00:17:44 UTC (rev 2870)
@@ -93,6 +93,8 @@
# 128 -- various cp errors
# 129 -- missing errorcode
+ [ -n "${TMPDIR}" ] && [ -e "${TMPDIR}" ] && rm -fr "${TMPDIR}"
+
local ERROR_CODE=${1}
local ERROR_MESSAGE=${2}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn