sh-elf-gcc/uninstall.sh

15 lines
259 B
Bash
Executable File

#! /usr/bin/env bash
source util.sh
PREFIX="$1"
# Remove symlinks
echo "$TAG Removing symlinks to binaries..."
for x in bin/*; do
rm "$PREFIX/$x"
done
# Remove local files
echo "$TAG Removing installed files..."
rm -rf bin/ include/ lib/ libexec/ share/