#!/bin/bash

# Look for 'cp' trying to do the job of 'install'
if echo "$@" | grep -q /opt/netsurf/arm-unknown-riscos/env ; then
  /opt/netsurf/arm-unknown-riscos/env/ro-install cp $@
else
  /bin/cp $@
fi
