view deploy/linux/mark-for-signing @ 37:28b1dd4ee370

Try separating out platform script subdirs
author Chris Cannam
date Mon, 16 Dec 2019 14:37:00 +0000
parents deploy/mark-for-signing@d88317090948
children
line wrap: on
line source
#!/bin/bash

set -e

usage() {
    echo "Usage: $0 <plugin-dir>" 1>&2
    exit 2
}    

dir="$1"

if [ ! -d "$dir" ]; then
    usage
fi

if [ -n "$2" ]; then
    usage
fi

set -u

touch "$dir"/.something-to-sign