This is the mail archive of the 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]

getting mknetrel (pimport) working


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

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 @@
 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).


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