getting mknetrel (pimport) working
Elfyn McBratney
elfyn@cygwin.com
Sun Jun 29 01:43:00 GMT 2003
Hi,
I use mknetrel on a linux-cross and just tried to get it going on my Cygwin
install. When running (latest CVS) pimport I get this
[elfyn@ellixia netrel]$ pimport /tmp/pdksh*z2
pimport: no tar file found for package /tmp/pdksh-5.2.14-2-src.tar.bz2
(running as `cd /netrel; bin/pimport /tmp/pdksh*bz2'). I don't remember having
to do anything special on my linux-cross. Is there anything I have to set-up
first?
PS- Might this be better?
Index: bin/pimport
===================================================================
RCS file: /cvs/cygwin-apps/mknetrel/bin/pimport,v
retrieving revision 1.1
diff -u -u -p -r1.1 pimport
--- bin/pimport 21 Mar 2002 16:50:08 -0000 1.1
+++ bin/pimport 29 Jun 2003 01:42:00 -0000
@@ -1,6 +1,6 @@
#!/bin/sh
pkg=$1; shift
-set -$- /tmp/"$pkg"*.?z*
+set -$- "$pkg"*.?z*
case "$1" in
*\**) echo "pimport: no tar file found for package $pkg" 1>&2; exit 1 ;;
*bz2) opt=j ;;
As the path is passed in on argv[1] (and intructed in the README).
Elfyn
--
More information about the Cygwin-apps
mailing list