view scripts/uninstall-scripts.sh @ 811:429bb43e8278 opencv3

switching the branches to correct names (opencv3.1 is old code previously updated to OpenCV3 and default is now updated to OpenCV 2.4.13
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Fri, 10 Jun 2016 15:44:37 -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