Browse Source

bugfix to pdm-build

feature/startup-from-labels
Mar Alegre 4 years ago
parent
commit
39f77e4a47
  1. 7
      .install/bin/pdm-build

7
.install/bin/pdm-build

@ -52,22 +52,19 @@ while getopts ':sdt:h' arg; do
esac esac
done done
echo "${opt_tags[*]}"
exit 0
# Handle non-option arguments # Handle non-option arguments
if [[ $# -gt 2 ]]; then if [[ $# -gt 2 ]]; then
badarg "Too many arguments" badarg "Too many arguments"
fi fi
if [[ -n $1 ]]; then if [[ $# -ge 1 ]]; then
directory="$1" directory="$1"
else else
directory=$(pwd) directory=$(pwd)
fi fi
if [[ -n $2 ]]; then if [[ $# -ge 2 ]]; then
name="$2" name="$2"
else else
name=$(basename "$directory") name=$(basename "$directory")

Loading…
Cancel
Save