"Fossies" - the Fresh Open Source Software Archive

Member "xosview-1.23/mkdist" (11 Jul 2020, 219 Bytes) of package /linux/misc/xosview-1.23.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/sh
    2 #
    3 # Make an xosview distribution from a Git repo
    4 #
    5 
    6 set -e
    7 
    8 V=`git describe`
    9 D="xosview-$V"
   10 
   11 mkdir -p dist
   12 A="dist/$D.tar.gz"
   13 git archive --prefix="$D/" HEAD | gzip --best > "$A"
   14 
   15 echo "Created $A" >&2
   16 exit 0