Description: change directory-structure Author: Jörg Frings-Fürst Forwarded: not-needed Last-Update: 2014-07-06 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ Index: trunk/bin/gcstar =================================================================== --- trunk.orig/bin/gcstar 2012-01-24 05:13:14.000000000 +0100 +++ trunk/bin/gcstar 2014-07-06 12:49:07.395235464 +0200 @@ -44,9 +44,9 @@ use POSIX qw(locale_h); $ENV{GCS_BIN_DIR} = $RealBin; -($ENV{GCS_LIB_DIR} = $ENV{GCS_BIN_DIR}) =~ s/bin\/?$/lib\/gcstar/; +($ENV{GCS_LIB_DIR} = $ENV{GCS_BIN_DIR}) =~ s/bin\/?$/share\/gcstar\/lib/; ($ENV{GCS_SHARE_DIR} = $ENV{GCS_BIN_DIR}) =~ s/bin\/?$/share\/gcstar/; -use lib File::Spec->canonpath("$RealBin/../lib/gcstar"); +use lib File::Spec->canonpath("$RealBin/../share/gcstar/lib"); if (exists $ENV{PAR_TEMP}) { unshift @INC, "$RealBin/../lib/gcstar"; Index: trunk/install =================================================================== --- trunk.orig/install 2011-07-17 14:22:58.000000000 +0200 +++ trunk/install 2014-07-06 12:53:49.517946204 +0200 @@ -255,9 +255,9 @@ chmod 0755, $baseDir.'/bin/'.$binName; #Copying lib - verbosePrint $lang{InstallCopyDirectory}, $baseDir.'/lib/gcstar'; - recursiveCopy('lib/gcstar', $baseDir.'/lib/gcstar'); - + verbosePrint $lang{InstallCopyDirectory}, $baseDir.'/share/gcstar/lib'; + recursiveCopy('lib/gcstar', $baseDir.'/share/gcstar/lib'); + #Copying share verbosePrint $lang{InstallCopyDirectory}, $baseDir.'/share/gcstar'; recursiveCopy('share/gcstar', $baseDir.'/share/gcstar');