aboutsummaryrefslogtreecommitdiff
path: root/clean
diff options
context:
space:
mode:
authorCamil Staps2020-06-22 10:20:27 +0200
committerCamil Staps2020-06-22 10:20:27 +0200
commit6c4f9c01e183edbe1dee1abe6d011762b3938001 (patch)
treef0ca8d3b27fdc75ee013bbd85c724f8ba50053db /clean
parentVim: set nowrap; set cursorline (diff)
Improve Clean install script for 32-bit: patch iTasksDev environment
Diffstat (limited to 'clean')
-rwxr-xr-xclean/bin/install_clean10
1 files changed, 9 insertions, 1 deletions
diff --git a/clean/bin/install_clean b/clean/bin/install_clean
index 557b432..699940b 100755
--- a/clean/bin/install_clean
+++ b/clean/bin/install_clean
@@ -32,7 +32,15 @@ do
done
grep -h '^[[:space:]]' "$CLEAN_HOME"/etc/*.env >> "$CLEAN_HOME/etc/IDEEnvs"
-cat ~/.clean/iTasksDev.env >> "$CLEAN_HOME/etc/IDEEnvs"
+if [[ "$PLATFORM" = "x86" ]]; then
+ sed \
+ -e 's/gc-sections/gc-sections -m32/' \
+ -e 's/Linux-64/Linux-32/' \
+ -e 's/Environment64BitProcessor:\tTrue/Environment64BitProcessor:\tFalse/' \
+ ~/.clean/iTasksDev.env >> "$CLEAN_HOME/etc/IDEEnvs"
+else
+ cat ~/.clean/iTasksDev.env >> "$CLEAN_HOME/etc/IDEEnvs"
+fi
tail -n +3 ~/projects/viia/config/IDEEnvs >> "$CLEAN_HOME/etc/IDEEnvs"
ln -s lib/exe "$CLEAN_HOME/exe"