File: repository.spec.example

package info (click to toggle)
lxqt-build-tools-qt5 0.13.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 348 kB
  • sloc: sh: 203; perl: 42; makefile: 6
file content (26 lines) | stat: -rw-r--r-- 584 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Author: Alf Gaida <agaida@siduction.org>
# License: WTFPL-2
#  0. You just DO WHAT THE FUCK YOU WANT TO.

# Variables
# =========
# repository= your repository
# branch= your branch, if needed
# commit= your commit , if needed
# target_dir= target dir, if needed, default is snapshot
#
# Functions
# =========
# cleanup ()

repository="git@$domain.tld:$foo/$bar"


# cleanup function definiton
cleanup() {
    echo ""
    echo "┌─────────────┐"
    echo "│ Cleanup ... │"
    echo "└─────────────┘"
    rm -rf .git*
}