Skip to content

Commit 3b9bce4

Browse files
committed
Update script to build gsweb, java, etc... fix issue with building on Windows and other UNIX platforms
1 parent a950df2 commit 3b9bce4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

build-libs-tools-apps

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# Libraries/Apps/Tools
4-
libs_files="libs-xcode libs-ppd libs-steptalk libs-ucsdata libs-renaissance apps-gorm libs-gdl2 libs-gsweb"
4+
libs_files="libs-xcode libs-ppd libs-steptalk libs-ucsdata libs-renaissance apps-gorm libs-gdl2 libs-gsweb libs-java"
55
tools_files="tools-charsets"
66
apps_files="apps-systempreferences apps-gworkspace apps-projectcenter apps-thematic apps-easydiff"
77

@@ -21,10 +21,10 @@ build_and_install()
2121
fi
2222
if [ -f GNUmakefile ]; then
2323
make -j${CPUS} debug=yes
24-
if [ "$OS" == "Linux" ]; then
25-
sudo -- sh -c '. /usr/GNUstep/System/Library/Makefiles/GNUstep.sh && make GNUSTEP_INSTALLATION_DOMAIN=SYSTEM debug=yes install'
26-
else
24+
if [ "$OS" == *"MINGW6_NT"* ]; then
2725
. /usr/GNUstep/System/Library/Makefiles/GNUstep.sh && make GNUSTEP_INSTALLATION_DOMAIN=SYSTEM debug=yes install
26+
else
27+
sudo -- sh -c '. /usr/GNUstep/System/Library/Makefiles/GNUstep.sh && make GNUSTEP_INSTALLATION_DOMAIN=SYSTEM debug=yes install'
2828
fi
2929
fi
3030
cd ..

0 commit comments

Comments
 (0)