view scripts/uninstall-scripts.sh @ 1269:ca70a79688ae

adding a speed threshold to avoid computing TTC at very low speeds
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Wed, 05 Jun 2024 10:12:43 -0400
parents f3a0b652b590
children
line wrap: on
line source

#!/bin/sh
if [ $# -ge 1 ];
then
    installDirname=$1
    echo 'Removing from directory '$installDirname
else
    installDirname='/usr/local/bin'
    echo 'Removing from default directory '$installDirname
fi

for filename in *
do
    echo 'rm '$installDirname/$filename
    rm $installDirname/$filename
done