"Fossies" - the Fresh Open Source Software Archive

Member "encfs-1.9.5/package-source.sh" (27 Apr 2018, 448 Bytes) of package /linux/misc/encfs-1.9.5.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. See also the latest Fossies "Diffs" side-by-side code changes report for "package-source.sh": 1.9.4_vs_1.9.5.

    1 #!/bin/bash -eux
    3 # Get git version, something like "v1.2.3"
    4 GITVERSION=$(git describe --tags --dirty)
    5 # Drop leading "v" to get just "1.2.3"
    7 # Folder name inside the tarball should be "encfs-1.2.3"
    8 PREFIX="encfs-$VERSION"
   10 # Actually create archive
   11 git archive --prefix "$PREFIX/" -o $PREFIX.tar.gz HEAD
   13 gpg --list-secret-keys --keyid-format LONG
   14 echo "Hint for signing: gpg -u <user> --armor --detach-sig $PREFIX.tar.gz"