]> git.pld-linux.org Git - projects/rc-scripts.git/blobdiff - DEVELOPMENT
rc.sysinit: unify modprobe calls
[projects/rc-scripts.git] / DEVELOPMENT
index 0a83bb55eecd353af2c34b86b6d3e885df515fad..e5afa08558af768d9ac8f1d603887468527e2c1e 100644 (file)
@@ -7,11 +7,11 @@
 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"
@@ -24,14 +24,20 @@ something=$(whoami)
 instead of
 something="`whoami`"
 
-4)
-       consider using typeset -i variable for integer variables
+Warning! The following snippet will not work, use `` in such cases:
+There is one ')' too many there.
 
-5)     don't use sed ! It only causes one more Requires.
+interfaces_boot=$(
+       case $i in
+               *ifcfg-lo) continue ;;
+       esac
+)
+
+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
@@ -42,9 +48,11 @@ uruchamiam usluge
 
 HOW TO MAKE A RELEASE
 
-- svn up && ./changelog.sh && svn ci ChangeLog
+- svn up
+- ./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
This page took 0.267605 seconds and 4 git commands to generate.