2021-01-01 23:22:19 +01:00
|
|
|
#! /usr/bin/env bash
|
|
|
|
|
|
|
|
source util.sh
|
2021-01-02 10:37:48 +01:00
|
|
|
PREFIX="$1"
|
2021-01-01 23:22:19 +01:00
|
|
|
|
|
|
|
# Remove symlinks
|
|
|
|
echo "$TAG Removing symlinks to binaries..."
|
|
|
|
for x in bin/*; do
|
2021-01-02 10:37:48 +01:00
|
|
|
rm "$PREFIX/$x"
|
2021-01-01 23:22:19 +01:00
|
|
|
done
|
|
|
|
|
|
|
|
# Remove local files
|
|
|
|
echo "$TAG Removing installed files..."
|
|
|
|
rm -rf bin/ sh3eb-elf/ share/
|