diff options
Diffstat (limited to 'app-arch/lzma-utils/files/lzma-nocxx.sh')
-rwxr-xr-x | app-arch/lzma-utils/files/lzma-nocxx.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app-arch/lzma-utils/files/lzma-nocxx.sh b/app-arch/lzma-utils/files/lzma-nocxx.sh new file mode 100755 index 000000000000..cc81029b4d61 --- /dev/null +++ b/app-arch/lzma-utils/files/lzma-nocxx.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +if [ "$1" = "-dc" ] ; then + shift + cat "$@" | lzmadec +else + ( + echo "You've built lzma-utils without C++ support." + echo "If you want lzma support, rebuild with C++ support." + ) 1>&2 + exit 1 +fi |