From: Ian Jackson Date: Wed, 19 Feb 2020 23:19:58 +0000 (+0000) Subject: quacks-ingredients: gcode manipulation wip X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=d0fd64bb93baef90a4c0ed1e47ae986cac3d6e81;p=reprap-play.git quacks-ingredients: gcode manipulation wip Signed-off-by: Ian Jackson --- diff --git a/quacks-ingredients-make-copy-gcodes b/quacks-ingredients-make-copy-gcodes index c2c0849..0aaa814 100755 --- a/quacks-ingredients-make-copy-gcodes +++ b/quacks-ingredients-make-copy-gcodes @@ -14,9 +14,6 @@ set -e f=$1 shift -umount /media/sd >/dev/null 2>&1 ||: -mount /media/sd - lhs=quacks-ingredients-L gh () { @@ -41,7 +38,12 @@ for l in 1 2 3 4 5; do $l = $_; END { print $l or die $!; } ' $g +done +umount /media/sd >/dev/null 2>&1 ||: +mount /media/sd + +for l in 1 2 3 4 5; do cp $g $h done