summaryrefslogtreecommitdiffstats
path: root/get-sources.sh
diff options
context:
space:
mode:
Diffstat (limited to 'get-sources.sh')
-rwxr-xr-xget-sources.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/get-sources.sh b/get-sources.sh
index 20d0a4c..9020da2 100755
--- a/get-sources.sh
+++ b/get-sources.sh
@@ -1,9 +1,9 @@
v=$(grep '^Version:' cygwin.spec | sed -e 's/.* //')
-r=6
+r=1
tarsrc=cygwin-$v-$r-src.tar.xz
url=ftp://sourceware.org/pub/cygwin/x86/release/cygwin/${tarsrc}
curl --fail --remote-time --location --output ${tarsrc} $url
-tar axf ${tarsrc} cygwin-$v-$r.src/winsup-$v.tar.bz2 \
- && mv cygwin-$v-$r.src/winsup-$v.tar.bz2 . \
+tar axf ${tarsrc} cygwin-$v-$r.src/newlib-cygwin-$v.tar.bz2 \
+ && mv cygwin-$v-$r.src/newlib-cygwin-$v.tar.bz2 . \
&& rmdir cygwin-$v-$r.src && rm -f ${tarsrc}