]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/relocate.cc
fix tuplet example
[lilypond.git] / lily / relocate.cc
index 3dfb2a07d7bb9a214a7761de59ca5692e154c2a9..47502f7dbda9f054f9524c0587763cf5b26bc91b 100644 (file)
@@ -44,7 +44,12 @@ sane_putenv (char const *key, string value, bool overwrite)
        progress_indication (_f ("Setting %s to %s" , key, value.c_str ())
                             + "\n");
                             
-      return putenv (s);
+      int retval =  putenv (s);
+      /*
+       unfortunately, we can't portably free S here,
+       due to various bugs in glibc prior to 2.1.1
+       */ 
+      return retval;
     }
   
   return -1;
@@ -228,11 +233,7 @@ setup_paths (char const *argv0_ptr)
   /*
     When running from build dir, a full LILYPOND_PREFIX is set-up at
 
-        $(OUTBASE)/share/lilypond/TOPLEVEL_VERSION
-
-     This historical hack will allow the shorthand
-
-        LILYPONDPREFIX=out lily/out/lilypond ...
+        $(OUTBASE)/{share,lib}/lilypond/current
 
   */