Skip to content

Commit

Permalink
fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
peccu committed Dec 13, 2023
1 parent fb55aba commit c847f15
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion update-from-template.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
#!/bin/bash
cp -R $(export APP=vue-app ;ls -a1 $APP | grep -Ev '^\.\.?$' | grep -Ev '^\.git$' | grep -Ev '^'$APP'$' | x -I{} echo "$APP/"{}) ./
cp -R $(
export APP=vue-app
ls -a1 $APP \
| grep -Ev '^\.\.?$' \
| grep -Ev '^\.git$' \
| grep -Ev '^'$APP'$' \
| xargs -I{} echo "$APP/"{}
) ./

0 comments on commit c847f15

Please sign in to comment.