This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: cygpath hangings


> From: Igor Pechtchanski
> Sent: Tuesday, October 14, 2003 3:38 PM

> FWIW, I've posted instructions on how to run a program from setup recently
> (but can't find the actual message at the moment).  To summarize, simply
> create a shell script named BLAH.sh that calls that program (you may need
> to call it through bash, too), put it in /etc/postinstall, and run setup
> in "Keep" mode.  The script will be run during the postinstall phase (even
> though you won't install anything).
> 	Igor

In addition to what is above...
I've been using these to generate the problem. HTH.

--
$ cat /etc/postinstall/t3.sh
#!/bin/bash -x

# CYGWIN_DEBUG=/bin/cygpath
# set CYGWIN_SLEEP=20000

echo -e "CYGWIN_DEBUG=${CYGWIN_DEBUG}\tCYGWIN_SLEEP=${CYGWIN_SLEEP}"

TOPFOLDER="$(cygpath -A -P)/Cygwin-XFree86"
echo $TOPFOLDER


$ cat ~/scripts/t3
#!/bin/bash

if [ -f /etc/postinstall/t3.sh.done ] ; then
  mv /etc/postinstall/t3.sh.done /etc/postinstall/t3.sh
fi

cygstart -- /install/setup.exe --no-md5



/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- UTC+01, DST -> UTC+02  --
--END OF MESSAGE--


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]