Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release > by-pkgid > 929824c6077982e4e251e4a2e22f092e > files > 282

git-core-2.3.2-1.mga5.x86_64.rpm

#!/bin/sh

if tty -s
then
	echo "Run 'help' for help, or 'exit' to leave.  Available commands:"
else
	echo "Run 'help' for help.  Available commands:"
fi

cd "$(dirname "$0")"

for cmd in *
do
	case "$cmd" in
	help) ;;
	*) [ -f "$cmd" ] && [ -x "$cmd" ] && echo "$cmd" ;;
	esac
done