File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2424#
2525if [[ -z " $KVERS " ]]; then
2626 export KVERS=$( uname -r)
27- export KCENTEVERS=$( echo 100* ` uname -r | cut -f1 -d.` +` uname -r | cut -f2 -d.` | bc)
2827fi
28+ kcentevers=$( echo 100* ` echo $KVERS | cut -f1 -d.` +` echo $KVERS | cut -f2 -d.` | bc)
2929
3030sed " s/@@KVERS@@/$KVERS /g" \
3131 debian/control.in > debian/control
3232sed " s/@@KVERS@@/$KVERS /g" \
3333 debian/install.in > debian/install
34- sed " s/@@KVERS@@/$KVERS /g; s/@@KCENTEVERS@@/$KCENTEVERS /g" \
34+ sed " s/@@KVERS@@/$KVERS /g; s/@@KCENTEVERS@@/$kcentevers /g" \
3535 src/Makefile.in > src/Makefile
Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ while True:
225225 if args .TYPE is 'u' :
226226 output += "= " + str (time .time ()) + "\n "
227227 elif args .TYPE is 'd' :
228- output += "= " + str (os .system ("data " )) + "\n "
228+ output += "= " + str (os .system ("date " )) + "\n "
229229
230230 output += connstat_regurgitate ()
231231 print (output , end = "" )
You can’t perform that action at this time.
0 commit comments