Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx> --- dim | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/dim b/dim index f86ba6253e49..808c9c74a8d4 100755 --- a/dim +++ b/dim @@ -870,6 +870,12 @@ function dim_alias sed 's/^dim_alias_/\t/;s/=/\t/' } +function dim_cat_to_fixup +{ + cd $DIM_PREFIX/drm-intel-nightly + cat > `cat .fixup_file_path` +} + # dim subcommand aliases declare -n subcmd=dim_alias_${subcommand//-/_} if [ -z "$subcmd" ]; then @@ -886,10 +892,6 @@ fi # XXX: abscract each case to a dim_ prefixed function, and turn the help|*) case # into an else branch in the above check for functions. case "$subcmd" in - cat-to-fixup) - cd $DIM_PREFIX/drm-intel-nightly - cat > `cat .fixup_file_path` - ;; tc) cd $DIM_PREFIX/$DIM_DRM_INTEL tag=$(git tag --contains $1 | grep ^v | sort -V | head -n 1) -- 2.1.4 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx