90966a8bb5
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/gcc.git#f8c38830d9c61e33d7daa8873cb12fb6f8f6fd66
8 lines
340 B
Bash
Executable File
8 lines
340 B
Bash
Executable File
#!/bin/sh
|
|
[ -d gcc-dir.tmp ] && echo gcc-dir.tmp already exists && exit 1
|
|
git clone --depth 1 git://gcc.gnu.org/git/gcc.git gcc-dir.tmp
|
|
git --git-dir=gcc-dir.tmp/.git fetch --depth 1 origin $1
|
|
d=`date --iso | sed 's/-//g'`
|
|
git --git-dir=gcc-dir.tmp/.git archive --prefix=gcc-11.0.1-$d/ $1 | xz -9e > gcc-11.0.1-$d.tar.xz
|
|
rm -rf gcc-dir.tmp
|