[Python-bugs-list] [ python-Bugs-233668 ] install-sh has no -d option but 2.1a2 Makefile uses it
nobody
nobody@sourceforge.net
Sun, 04 Mar 2001 07:20:00 -0800
Bugs #233668, was updated on 2001-02-22 13:44
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=233668&group_id=5470
Category: Installation
Group: None
Status: Closed
Priority: 7
Submitted By: Marc W. Mengel
Assigned to: Fred L. Drake, Jr.
Summary: install-sh has no -d option but 2.1a2 Makefile uses it
Initial Comment:
The install-sh script has no -d option to make directories, but the
Makefile attempts to use such an option on OSF1. I suggest the
following patch:
*** install-sh.python.orig Thu Feb 22 15:42:30 2001
--- install-sh.python.new Thu Feb 22 15:39:49 2001
***************
*** 25,30 ****
--- 26,32 ----
chownprog="${CHOWNPROG-chown}"
chgrpprog="${CHGRPPROG-chgrp}"
stripprog="${STRIPPROG-strip}"
+ mkdirprog="${MKDIRPROG-mkdir}"
rmprog="${RMPROG-rm}"
instcmd="$mvprog"
***************
*** 58,63 ****
--- 60,73 ----
shift
continue;;
+ -d) mkdircmd="$mkdirprog"
+ chmodcmd="$chmodprog $2"
+ instcmd=":"
+ src="."
+ shift
+ shift
+ continue;;
+
-s) stripcmd="$stripprog"
shift
continue;;
***************
*** 106,111 ****
--- 116,122 ----
# and set any options; do chmod last to preserve setuid bits
+ if [ x"$mkdircmd" != x ]; then $doit $mkdircmd $dsttmp; fi
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; fi
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; fi
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; fi
----------------------------------------------------------------------
Comment By: Fred L. Drake, Jr.
Date: 2001-03-04 07:19
Message:
Logged In: YES
user_id=3066
Since this has been fixed, let's close the bug report...
----------------------------------------------------------------------
Comment By: Neil Schemenauer
Date: 2001-03-03 22:29
Message:
Logged In: YES
user_id=35752
Yes, this has been fixed.
----------------------------------------------------------------------
Comment By: Fred L. Drake, Jr.
Date: 2001-02-28 11:26
Message:
Logged In: YES
user_id=3066
I *think* this has been fixed already.
The install-sh script has been updated since the version you are working with. Please test with the CVS version of install-sh (let me know if you want me to email it to you).
Thanks!
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=233668&group_id=5470