diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2015-12-14 14:34:06 +0100 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2015-12-14 14:36:34 +0100 |
commit | f83f3fbbe6ffa31b2fee1fe899299f1dce98d4bc (patch) | |
tree | cd1edd3778ab4a2bab3d7f2676bf1e0573acfc78 /t/travis-deps/makepkg | |
parent | b888ada8f817326d317775bf17fb230e2ebca4b0 (diff) | |
download | sbotools2-f83f3fbbe6ffa31b2fee1fe899299f1dce98d4bc.tar.xz |
Have Travis install stubs for package management
Diffstat (limited to 't/travis-deps/makepkg')
-rwxr-xr-x | t/travis-deps/makepkg | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/t/travis-deps/makepkg b/t/travis-deps/makepkg new file mode 100755 index 0000000..54c1b3c --- /dev/null +++ b/t/travis-deps/makepkg @@ -0,0 +1,25 @@ +#!/bin/bash + +while [[ $# > 1 ]] +do +key="$1" + +case $key in + -l|--linkadd) + LINKADD="$2" + shift + ;; + -c|--chown) + CHOWN="$2" + shift + ;; + -p|--prepend) + PREPEND=1 + ;; +esac +shift +done + +touch $1 + +echo "Slackware package $1 created. |