Changeset 4054 in genesis
- Timestamp:
- Mar 14, 2005, 2:20:17 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/config-node.sh
r4053 r4054 235 235 236 236 do_move() { 237 rm ${dir}/${i}.bak 238 mv ${dir}/${i} ${dir}/${i}.bak \ 239 || cleanexit 1 240 log backuped ${dir}/${i} 241 242 mv ${dir}/${i}.new ${dir}/${i} \ 243 || cleanexit 1 244 log updated ${dir}/${i} 237 if [ -x ${dir}/${i}.bak ]; then 238 rm ${dir}/${i}.bak 239 fi 240 241 if [ -x ${dir}/${i} ]; then 242 mv ${dir}/${i} ${dir}/${i}.bak || cleanexit 1 243 log backup ${dir}/${i} to ${dir}/${i}.bak 244 fi 245 246 mv ${dir}/${i}.new ${dir}/${i} || cleanexit 1 247 log updated ${dir}/${i} 245 248 } 246 249
Note:
See TracChangeset
for help on using the changeset viewer.