index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Travis Willard <travis@archlinux.org> | 2008-01-13 14:53:29 -0500 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-01-23 16:11:38 -0600 |
commit | 67485704135ef41d907a4c93db5fbcaee3960bc2 (patch) | |
tree | 51dbc73113e967c04a92ed204cf1e58bb16e43c3 /extrapkg | |
parent | d853dee3ed47c30497e0c97d0c7962c4d196dde9 (diff) |
-rwxr-xr-x | extrapkg | 13 |
@@ -1,6 +1,17 @@ #!/bin/bash -source /etc/makepkg.conf +# Source makepkg.conf; fail if it is not found +if [ -r "/etc/makepkg.conf" ]; then + source "/etc/makepkg.conf" +else + echo "/etc/makepkg.conf not found!" + exit 1 +fi + +# Source user-specific makepkg.conf overrides +if [ -r ~/.makepkg.conf ]; then + source ~/.makepkg.conf +fi cmd=`basename $0` |