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
done
echo "${opt_tags[*]}"
exit 0
# Handle non-option arguments
if [[ $# -gt 2 ]]; then
badarg "Too many arguments"
fi
if [[ -n $1 ]]; then
if [[ $# -ge 1 ]]; then
directory="$1"
else
directory=$(pwd)
fi
if [[ -n $2 ]]; then
if [[ $# -ge 2 ]]; then
name="$2"
else
name=$(basename "$directory")

Loading…
Cancel
Save