Skip to content

Commit

Permalink
mv is quiet
Browse files Browse the repository at this point in the history
  • Loading branch information
6nv committed Feb 6, 2024
1 parent 02fa0bd commit 8104ba3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions run
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,17 @@ done
if "${force_cmd}" ; then
shopt -s dotglob nullglob
backup_dir='.backup'
mkdir -v "${backup_dir}" || exit 1
mkdir "${backup_dir}" || exit 1
echo "Moving files to ${backup_dir}..."
mv -v ./* "./${backup_dir}/"
mv ./* "./${backup_dir}/"
cd "${backup_dir}" || exit 1
mv -v .git run ..
mv .git run ..
cd ..
npx -y @grafana/create-plugin@latest
dir_name="$(ls -d ./[A-Za-z]*/)"
cd "${dir_name}" || exit 1
mv -v ./* ..
echo "Moving files from ${dir_name}..."
mv ./* ..
cd ..
echo 'Removing files...'
rm -vr "${dir_name}"
Expand Down

0 comments on commit 8104ba3

Please sign in to comment.