# KEHOME/bin/rmsoftexe
# Mar/12/2003

# usage: rmsoftexe directory
# remove soft links to avoid conflicts on Linux system
# use soft links to solve Windows .exe problem
# requires Interix subsystem (Windows Services for UNIX 3.0)
#
# CAUTION:
#   If no *.exe files in the directory,
#   and your shell returns *.exe
#   "rm -f ${f%.exe}" removes *
#   (all files in directory !!!)
#

cd $1
for f in *.exe; do
	soft=${f%.exe}
	rm -f $soft
done
