Changeset 27584 for gs2-extensions
- Timestamp:
- 2013-06-10T10:23:46+12:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2-extensions/parallel-building/trunk/src/bin/script/hadoop_import.pl
r27550 r27584 147 147 if (!&dirIsEmpty($gs_logs_dir)) 148 148 { 149 &shellCommand('rm ' . $gs_logs_dir . '/*.*');149 &shellCommand('rm -f ' . $gs_logs_dir . '/*.*'); 150 150 } 151 151 if (!&dirIsEmpty('/tmp/greenstone')) 152 152 { 153 &shellCommand('rm /tmp/greenstone/*.*');154 &shellCommand('rm /tmp/gsimport*');153 &shellCommand('rm -f /tmp/greenstone/*.*'); 154 &shellCommand('rm -rf /tmp/gsimport*'); 155 155 } 156 156 if ($is_rocks_cluster) 157 157 { 158 &shellCommand('rocks run host "rm /tmp/greenstone/*.*"');159 &shellCommand('rocks run host "rm /tmp/gsimport*"');158 &shellCommand('rocks run host "rm -f /tmp/greenstone/*.*"'); 159 &shellCommand('rocks run host "rm -rf /tmp/gsimport*"'); 160 160 } 161 161 print "Done!\n";
Note:
See TracChangeset
for help on using the changeset viewer.