You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
315 B

#!/bin/bash
LEAPP_CLI_COMMANDS_PATH=$($1 -c "import leapp.cli.commands; print(leapp.cli.commands.__path__[0])")
echo "Installing commands to \"$LEAPP_CLI_COMMANDS_PATH\""
for folder in `ls -1 commands/`; do
if [[ $folder != "tests" ]]; then
cp -a commands/$folder $LEAPP_CLI_COMMANDS_PATH;
fi
done