Check-in Number:
|
177 | |
Date: |
2000-Nov-17 17:46:09 (local)
2000-Nov-17 16:46:09 (UTC) |
User: | rse |
Branch: | |
Comment: |
*** empty log message *** |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/shtool/ChangeLog 1.135 -> 1.136
--- 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 <fnevgeny@plasma-gate.weizmann.ac.il>]
*) Added support to Makefile.in for DESTDIR variable. This allows
easier rolling of installation tarballs (for instance from within
|
|
ossp-pkg/shtool/sh.install 1.16 -> 1.17
--- 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)
|
|