[gimp/gimp-2-8] Installer: use ${gimp_installation_dir} when setting environment instead of hardcoding installation
- From: Jernej SimonÄiÄ <jernejs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] Installer: use ${gimp_installation_dir} when setting environment instead of hardcoding installation
- Date: Thu, 23 Aug 2012 17:33:24 +0000 (UTC)
commit f3788ae9c3f553ae47373fcb95140328f5b3a974
Author: Jernej SimonÄiÄ <jernej+s-gnome eternallybored org>
Date: Thu Aug 23 19:28:33 2012 +0200
Installer: use ${gimp_installation_dir} when setting environment instead of
hardcoding installation path
build/windows/installer/gimp3264.iss | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/build/windows/installer/gimp3264.iss b/build/windows/installer/gimp3264.iss
index 8437b47..f6a5801 100644
--- a/build/windows/installer/gimp3264.iss
+++ b/build/windows/installer/gimp3264.iss
@@ -524,15 +524,15 @@ begin
DefaultEnv := ExpandConstant('{app}\lib\gimp\2.0\environ\default.env');
DebugMsg('PrepareGimpPath','Setting environment in ' + DefaultEnv);
- Env := #10'PATH=' + ExpandConstant('{app}\bin');
+ Env := #10'PATH=${gimp_installation_dir}\bin';
if IsComponentSelected('gimp32on64') then
begin
- Env := Env + ';' + ExpandConstant('{app}\32\bin') + #10;
+ Env := Env + ';${gimp_installation_dir}\32\bin' + #10;
if IsComponentSelected('gimp32on64\py') then
- Env := Env + 'PYTHONPATH=' + ExpandConstant('{app}\32\lib\gimp\2.0\python') + #10; //only needed on 64bit GIMP
+ Env := Env + 'PYTHONPATH=${gimp_installation_dir}\32\lib\gimp\2.0\python' + #10; //only needed on 64bit GIMP
end else
begin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]