Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
## The contents of this file are subject to the Mozilla Public License
## Version 1.1 (the "License"); you may not use this file except in
## compliance with the License. You may obtain a copy of the License
## at http://www.mozilla.org/MPL/
##
## Software distributed under the License is distributed on an "AS IS"
## basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
## the License for the specific language governing rights and
## limitations under the License.
@zendeavor
zendeavor / gist:6017303
Last active December 19, 2015 20:59 — forked from trq/gist:6017160
# I have a command "opm" which takes, for example argument like:
# opm lfs-base/gcc-4.2 configure
#
# The first argument represents a build script in the format of <category>/<package>-<version>
#
# These build scripts are stored within /var/opm/opms/ in a structure similar to:
# .
# |-- lfs-base
# | |-- autoconf
# | | |-- 2.69.opm