summaryrefslogtreecommitdiff
blob: 92e9cdcc35d151b4dab1d32ccb3caf036cf02623 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

case $1 in
	-dc)
		shift
		cat "$@" | lzmadec
		;;
	-d)
		shift
		lzmadec
		;;
	*)
		(
		echo "You've built lzma-utils without C++ support."
		echo "If you want lzma support, rebuild with C++ support."
		) 1>&2
		exit 1
		;;
esac