Commit ef671ef8 authored by Mike Hibler's avatar Mike Hibler
Browse files

Make sure existing tmcc symlink gets overwritten.

parent 288a22a6
...@@ -135,7 +135,7 @@ postprocessing() ...@@ -135,7 +135,7 @@ postprocessing()
cd ${projdir}/$host cd ${projdir}/$host
# save what tmcc says right now # save what tmcc says right now
$($BINDIR/tmcc hwinfo > ${projdir}/$host/.tmcc/$timestamp) $($BINDIR/tmcc hwinfo > ${projdir}/$host/.tmcc/$timestamp)
ln -s .tmcc/$timestamp ${projdir}/$host/tmcc ln -sf .tmcc/$timestamp ${projdir}/$host/tmcc
cd $owd cd $owd
# remove old symlinks and make new ones # remove old symlinks and make new ones
...@@ -144,7 +144,6 @@ postprocessing() ...@@ -144,7 +144,6 @@ postprocessing()
[[ -L $host ]] && rm -f $host #this should be a symlink [[ -L $host ]] && rm -f $host #this should be a symlink
[[ -L node ]] && rm -f node #this should be a symlink [[ -L node ]] && rm -f node #this should be a symlink
[[ -L full ]] && rm -f full #another symlink [[ -L full ]] && rm -f full #another symlink
[[ -L tmcc ]] && rm -f tmcc #another symlink
[[ -L diff ]] && rm -f diff #another symlink [[ -L diff ]] && rm -f diff #another symlink
ln -s .tbdb/${timestamp} ${projdir}/$host/$host ln -s .tbdb/${timestamp} ${projdir}/$host/$host
ln -s .tbdb/${timestamp} ${projdir}/$host/node ln -s .tbdb/${timestamp} ${projdir}/$host/node
...@@ -159,7 +158,7 @@ postprocessing() ...@@ -159,7 +158,7 @@ postprocessing()
cd ${projdir}/$host cd ${projdir}/$host
# save what tmcc says right now # save what tmcc says right now
$($BINDIR/tmcc hwinfo > ${projdir}/$host/.tmcc/$timestamp) $($BINDIR/tmcc hwinfo > ${projdir}/$host/.tmcc/$timestamp)
ln -s .tmcc/$timestamp ${projdir}/$host/tmcc ln -sf .tmcc/$timestamp ${projdir}/$host/tmcc
cd $owd cd $owd
# Test what was found locally against what is in the database # Test what was found locally against what is in the database
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment