-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/bash | ||
set -e | ||
TCL9_VERSION=9.0.0 | ||
TK9_VERSION=9.0.0 | ||
WGET="/c/msys64/usr/bin/wget -nv" | ||
CMD=/c/msys64/usr/bin/cmd | ||
if [ ! -e tcl$TCL9_VERSION-src.tar.gz ] ; then | ||
$WGET https://prdownloads.sourceforge.net/tcl/tcl$TCL9_VERSION-src.tar.gz | ||
fi | ||
if [ ! -e tk$TK9_VERSION-src.tar.gz ]; then | ||
$WGET https://prdownloads.sourceforge.net/tcl/tk$TCL9_VERSION-src.tar.gz | ||
fi | ||
rm -rf tcl9 tk9 | ||
tar xfz tcl$TCL9_VERSION-src.tar.gz | ||
mv tcl$TCL9_VERSION tcl9 | ||
tar xfz tk$TCL9_VERSION-src.tar.gz | ||
mv tk$TCL9_VERSION tk9 |