Diff of /branches/mage-next/usr/lib/mage/mage4.functions.sh
Parent Directory | Revision Log | Patch
revision 1962 by niro, Thu Oct 25 07:17:17 2012 UTC | revision 1963 by niro, Fri Oct 26 21:14:51 2012 UTC | |
---|---|---|
# | Line 1605 syncmage_tarball() | Line 1605 syncmage_tarball() |
1605 | then | then |
1606 | if ! mcheckemptydir ${MAGEDIR} | if ! mcheckemptydir ${MAGEDIR} |
1607 | then | then |
1608 | find ${MAGEDIR} -mindepth 1 -maxdepth 1 | xarg --no-run-if-empty rm -r | find ${MAGEDIR} -mindepth 1 -maxdepth 1 | xargs --no-run-if-empty rm -r |
1609 | fi | fi |
1610 | else | else |
1611 | rm -rf ${MAGEDIR} | rm -rf ${MAGEDIR} |
|