diff options
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 - - |
