Index: ossp-pkg/shtool/ChangeLog RCS File: /v/ossp/cvs/ossp-pkg/shtool/ChangeLog,v rcsdiff -q -kk '-r1.135' '-r1.136' -u '/v/ossp/cvs/ossp-pkg/shtool/ChangeLog,v' 2>/dev/null --- ChangeLog 2000/10/05 12:15:29 1.135 +++ ChangeLog 2000/11/18 16:46:09 1.136 @@ -9,7 +9,12 @@ ChangeLog - Changes between 1.5.1 and 1.5.2 (06-Jul-2000 to xx-Sep-2000): + Changes between 1.5.1 and 1.5.2 (06-Jul-2000 to 18-Nov-2000): + + *) Fixed `shtool install': the default for option -m is 0755 in + order to be consistent with the semantics of original BSD and + GNU install commands. + [Evgeny Stambulchik ] *) Added support to Makefile.in for DESTDIR variable. This allows easier rolling of installation tarballs (for instance from within Index: ossp-pkg/shtool/sh.install RCS File: /v/ossp/cvs/ossp-pkg/shtool/sh.install,v rcsdiff -q -kk '-r1.16' '-r1.17' -u '/v/ossp/cvs/ossp-pkg/shtool/sh.install,v' 2>/dev/null --- sh.install 2000/06/14 18:43:24 1.16 +++ sh.install 2000/11/18 16:46:09 1.17 @@ -28,7 +28,7 @@ opt_c=no opt_C=no opt_s=no -opt_m="" +opt_m="0755" opt_o="" opt_g="" opt_e="" @@ -111,7 +111,6 @@ fi # Adjust the target file - # (we do chmod last to preserve setuid bits) if [ ".$opt_s" = .yes ]; then if [ ".$opt_t" = .yes ]; then echo "strip $dsttmp" 1>&2 @@ -130,12 +129,10 @@ fi chgrp $opt_g $dsttmp || exit $? fi - if [ ".$opt_m" != . ]; then - if [ ".$opt_t" = .yes ]; then - echo "chmod $opt_m $dsttmp" 1>&2 - fi - chmod $opt_m $dsttmp || exit $? + if [ ".$opt_t" = .yes ]; then + echo "chmod $opt_m $dsttmp" 1>&2 fi + chmod $opt_m $dsttmp || exit $? # Determine whether to do a quick install # (has to be done _after_ the strip was already done)