summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhercules_update/createnew.sh3
-rwxr-xr-xupdate/addmods.sh3
-rwxr-xr-xupdate/create_music.sh3
-rwxr-xr-xupdate/createnew.sh3
-rwxr-xr-xupdate/update.sh3
-rwxr-xr-xupdate/update_music.sh3
6 files changed, 12 insertions, 6 deletions
diff --git a/hercules_update/createnew.sh b/hercules_update/createnew.sh
index 1274792..1a95744 100755
--- a/hercules_update/createnew.sh
+++ b/hercules_update/createnew.sh
@@ -4,9 +4,10 @@
# Author: Andrei Karas (4144)
dir=`pwd`
+CC=${CC:=gcc}
rm adler32
-gcc -lz adler32.c -o adler32
+$CC -lz adler32.c -o adler32
mkdir files
mkdir upload
diff --git a/update/addmods.sh b/update/addmods.sh
index 3a4e036..a45f9ed 100755
--- a/update/addmods.sh
+++ b/update/addmods.sh
@@ -4,9 +4,10 @@
# Author: Andrei Karas (4144)
dir=`pwd`
+CC=${CC:=gcc}
rm adler32
-gcc -lz adler32.c -o adler32
+$CC -lz adler32.c -o adler32
mkdir files
mkdir upload
diff --git a/update/create_music.sh b/update/create_music.sh
index 63e969e..e534a58 100755
--- a/update/create_music.sh
+++ b/update/create_music.sh
@@ -4,9 +4,10 @@
# Author: Andrei Karas (4144)
dir=`pwd`
+CC=${CC:=gcc}
rm adler32
-gcc -lz adler32.c -o adler32
+$CC -lz adler32.c -o adler32
mkdir files
mkdir upload
diff --git a/update/createnew.sh b/update/createnew.sh
index 86a6b93..8997e3e 100755
--- a/update/createnew.sh
+++ b/update/createnew.sh
@@ -4,9 +4,10 @@
# Author: Andrei Karas (4144)
dir=`pwd`
+CC=${CC:=gcc}
rm adler32
-gcc -lz adler32.c -o adler32
+$CC -lz adler32.c -o adler32
mkdir files
mkdir upload
diff --git a/update/update.sh b/update/update.sh
index 01dab51..922c59b 100755
--- a/update/update.sh
+++ b/update/update.sh
@@ -4,9 +4,10 @@
# Author: Andrei Karas (4144)
dir=`pwd`
+CC=${CC:=gcc}
rm adler32
-gcc -lz adler32.c -o adler32
+$CC -lz adler32.c -o adler32
mkdir files
mkdir upload
diff --git a/update/update_music.sh b/update/update_music.sh
index aca1506..b9e0256 100755
--- a/update/update_music.sh
+++ b/update/update_music.sh
@@ -4,9 +4,10 @@
# Author: Andrei Karas (4144)
dir=`pwd`
+CC=${CC:=gcc}
rm adler32
-gcc -lz adler32.c -o adler32
+$CC -lz adler32.c -o adler32
mkdir files
mkdir upload