Hello !

        i'm trying to see if i can play with the bootstrap on a Mac ..
(ok not supported, but i like to play)

        and was just wondering why i get these CTRL-M like a DOS file
just after downloading the openpkg.sh archive. Have to dos2unix it to
be able to work with it. If you have any idea and wanna play too :-) ?

        isn't the ftp protocol supposed to convert end of lines ?
is my proxy in cause ? (squid)

imac:~ kalou$ wget ftp://ftp.openpkg.org/current/SRC/CORE/openpkg-20070322-20070322.src.sh
--13:35:46--

(...)

Connecting to 192.168.1.168:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: unspecified [application/x-sh]

(...)

13:40:20 (100.77 KB/s) - `openpkg-20070322-20070322.src.sh' saved [28099489]

imac:~ kalou$ md5sum  openpkg-20070322-20070322.src.sh
cb4a1550b9cb3e31ef7f27dd25e9152e  openpkg-20070322-20070322.src.sh

imac:~ kalou$ chmod +x openpkg-20070322-20070322.src.sh

imac:~ kalou$ ./openpkg-20070322-20070322.src.sh
: bad interpreter: No such file or directorybin/sh

imac:~ kalou$ dos2unix openpkg-20070322-20070322.src.sh
dos2unix: converting file openpkg-20070322-20070322.src.sh to UNIX format ...

imac:~ kalou$ chmod +x openpkg-20070322-20070322.src.sh

imac:~ kalou$ ./openpkg-20070322-20070322.src.sh
OpenPKG CURRENT Source Bootstrap Package, version 20070322
Building for prefix /openpkg on current platform
++ extracting OpenPKG source distribution
./openpkg-20070322-20070322.src.sh:ERROR: failed to unpack into directory "openpkg-20070322-20070322.src"


Olivier Kaloudoff
Saint Raphael
______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to