Added makefile and spec for rpm builds

This commit is contained in:
2013-09-24 11:42:10 -04:00
parent cc6ba88784
commit baf7232c79
3 changed files with 107 additions and 0 deletions

View File

@@ -1,5 +1,11 @@
#!/bin/bash
bashversion=$(bash --version | head -n 1 | grep "version [0-9]" | cut -d ' ' -f 2)
if [ $bashversion -lt 4 ]; then
echo "cmdarg is incompatible with bash versions < 4.0, please upgrade bash" >&2
exit 1
fi
CMDARG_FLAG_WITHARG=1
function cmdarg