READ THIS BEFORE CHANGEING SOMETHING IN RC-SCRIPTS PACKAGE
Arkadiusz Miskiewicz <misiek@pld-linux.org>
- $Id$
1)
consult all major changes with people on pld-rc-scripts@pld-linux.org
mailing list. This is very important.
2)
- use 'typeset' for local variables in functions for example:
+ use 'local' for local variables in functions for example:
function_ble ()
{
-typeset qw er
+local qw er=0
qw=$(tty)
er=/dev/console
echo "$qw $er"
esac
)
-4)
- consider using typeset -i variable for integer variables
-
-5) don't use sed ! It only causes one more Requires.
+4) don't use sed ! It only causes one more Requires.
Use awk ' { gsub(/pattern/,"replaced"); print $0; } ' for that.
Also try to replace grep calls with awk calls.
-6)
+5)
(PL) Tlumaczac komunikaty na PL nalezy uzywac formy bezosobowej np:
uruchamianie uslugi
HOW TO MAKE A RELEASE
-- svn up
+- git checkout master
+- git pull --rebase
+- ./autogen.sh
- make distcheck
- update configure.ac release and commit it
-- svn up && ./changelog.sh && svn ci ChangeLog
- make dist
- ./make-tag.sh
- upload tarball to distfiles, update rc-scripts.spec:HEAD