#!/bin/bash

echo "Saving 'map2q3' to '../bin/linux'..."

if [ -x map2q3 ]
then
  if [ -x ../bin/linux/map2q3 ]
  then
    rm -f ../bin/linux/map2q3_bak
    mv ../bin/linux/map2q3 ../bin/linux/map2q3_bak
  fi
  cp map2q3 ../bin/linux/map2q3
  echo OK
else
  echo "'map2q3' not found, first run the scripts 'mk' and 'save'"
  echo "in the directory 'build-linux'."
fi
