How to investigate a bug in /bin/mkshortcut.exe ?

Regid Ichira
Sun Oct 23 22:14:00 GMT 2011

  /etc/postinstall/'s exit code is 127.

    $ cat /etc/postinstall/
    PROGS=$(/bin/cygpath -P $CYGWINFORALL)
    /bin/mkdir -p "$PROGS/Cygwin" &&
    cd "$PROGS/Cygwin" &&
    /bin/mkshortcut -n mintty /bin/mintty -a - -d "Cygwin Terminal"

By running those commands manually, I think the problem is the last,
/bin/mkshortcut, line.  How can I investigate it more?

    $ cygcheck -f /bin/mkshortcut.exe

    $ file /bin/mkshortcut.exe
    /bin/mkshortcut.exe: PE32 executable (console) Intel 80386 (stripped to external PDB), for MS Windows

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list