Fixed qp_create

This commit is contained in:
Anthony Scemama 2019-01-15 00:43:33 +01:00
parent e910a19972
commit 71bc405613
1 changed files with 1 additions and 2 deletions

View File

@ -58,13 +58,12 @@ function qp()
_ARGS+=("\"${arg//:/ }\"") ;;
esac
done
echo "qp_create_ezfio_from_xyz ${_ARGS[@]}"
NAME=$(eval "qp_create_ezfio_from_xyz ${_ARGS[@]}")
if [[ -d $NAME ]] ; then
[[ -d $EZFIO_FILE ]] && ezfio unset_file
ezfio set_file $NAME
else
echo $NAME | more
qp_create_ezfio_from_xyz -h | more
fi
unset _ARGS
;;