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

[mknetrel Patch] Change default cygwin_root


Index: bin/mknetrel
===================================================================
RCS file: /home/max/cvsmirror/cygwin-apps-cvs/mknetrel/bin/mknetrel,v
retrieving revision 1.48
diff -u -p -r1.48 mknetrel
--- bin/mknetrel 15 Jun 2003 03:49:19 -0000 1.48
+++ bin/mknetrel 28 Jun 2003 17:14:34 -0000
@@ -56,7 +56,7 @@ read_user_config() {
  *) iscygwin() { return 1; } ;;
     esac
     if iscygwin; then
- : ${cygwin_root=/}
+ : ${cygwin_root=}
  : ${build_cxx='g++'}
  : ${build_cc='gcc'}
  : ${build_ranlib='ranlib'}


Everywhere $cygwin_root is used, it is used with a trailing /, therefore, if
it is set to /, the result is paths like //bin. Setting it to an empty
string avoids double-slashes.



Max.


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