]> mj.ucw.cz Git - libucw.git/blobdiff - build/installer
bgetl() should return uns instead of u32
[libucw.git] / build / installer
index b06ca50947c45b4e5b89301abd27284f3ac16c5b..b5bf16f20f9b699d18733b52193cbc4b7097e6a2 100755 (executable)
@@ -20,14 +20,14 @@ for a in $SH_CONFIGS ; do
                if [ ! -f $DEST/cf/$a ] ; then
                        echo "cf/$a: new, installed"
                        cp run/cf/$a $DEST/cf/$a
-               elif [ $a == catalog-rules ] ; then
+               elif [ $a = catalog-rules ] ; then
                        echo "cf/$a: will be regenerated automatically"
                elif diff -u $DEST/cf/$a run/cf/$a ; then
                        echo "cf/$a: no differences"
                else
                        echo -n "cf/$a differs, replace it [Yn]? "
                        read x
-                       if [ -z "$x" -o "$x" == "y" -o "$x" == "Y" ] ; then
+                       if [ -z "$x" -o "$x" = "y" -o "$x" = "Y" ] ; then
                                echo "cf/$a: replacing and keeping the old version as cf/$a.old"
                                mv $DEST/cf/$a $DEST/cf/$a.old
                                cp run/cf/$a $DEST/cf/$a