diff options
| author | Remi Collet <remi@remirepo.net> | 2026-01-29 08:19:59 +0100 |
|---|---|---|
| committer | Remi Collet <remi@php.net> | 2026-01-29 08:19:59 +0100 |
| commit | 1e5cd7f7c7e3c72d7f6c663948a1667993004f50 (patch) | |
| tree | 1b2ba13ed84954f5d124e2f86d09298a56c93ef0 /makesrc.sh | |
| parent | 8317bf35a3bbc79244530a4d03802cb921f190d7 (diff) | |
Diffstat (limited to 'makesrc.sh')
| -rwxr-xr-x | makesrc.sh | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/makesrc.sh b/makesrc.sh deleted file mode 100755 index 4e9292b..0000000 --- a/makesrc.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh -NAME=$(basename $PWD) -VERSION=$(sed -n '/^Version:/{s/.* //;p}' $NAME.spec) - -if [ -f $NAME-$VERSION.tar.xz ]; then - echo Already done -else - echo "Cloning..." - rm -rf $NAME-$VERSION - git clone --recursive --depth 1 --shallow-submodules https://github.com/qelectrotech/qelectrotech-source-mirror.git --branch $VERSION $NAME-$VERSION - - echo "Archiving..." - tar cJf $NAME-$VERSION.tar.xz --exclude-vcs $NAME-$VERSION - - echo "Cleaning..." - rm -rf $NAME-$VERSION -fi - - |
