Marlin/buildroot/bin/backup_ramps

8 lines
156 B
Plaintext
Raw Normal View History

2019-07-11 07:32:24 +00:00
#!/usr/bin/env bash
PINS="Marlin/src/pins"
RAMPS="$PINS/ramps/pins_RAMPS.h"
BKUP="$PINS/ramps/pins_RAMPS.backup.h"
[[ -f $RAMPS ]] && cp "$RAMPS" "$BKUP"