From 286b317cd85bc62c0c7f993c3528c924e294f3a5 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Wed, 9 Jun 2010 09:45:16 +0000 Subject: [PATCH] defect 3013633: remove all the directories created by ftp git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6410 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/otherpkgs | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT/postscripts/otherpkgs b/xCAT/postscripts/otherpkgs index c45524f7f..bdfa52292 100755 --- a/xCAT/postscripts/otherpkgs +++ b/xCAT/postscripts/otherpkgs @@ -327,6 +327,7 @@ while [ $op_index -le $OTHERPKGS_INDEX ]; do if [ $mounted -eq 0 ]; then cd /xcatpost dir_no_ftproot=${OTHERPKGDIR#$INSTALLDIR/} + dir_no_ftproot=${dir_no_ftproot/\/*/} rm -f -R $dir_no_ftproot fi fi