Revert "gash: WIP"
This reverts commit fc31c2b8d79d78d47260b96201894bc00fc6a60b.
This commit is contained in:
parent
d71a0b6052
commit
759888cec6
|
@ -18,18 +18,20 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
|
# along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
set -ex
|
set -e
|
||||||
|
|
||||||
VERSION=0.18
|
VERSION=0.18
|
||||||
|
|
||||||
# parse --prefix=prefix
|
# parse --prefix=prefix
|
||||||
cmdline=$(echo "$@")
|
cmdline=$(echo "$@")
|
||||||
p=$(echo "$@" | grep -o '[-][-]prefix=[^ ]*')
|
p=${cmdline##*--prefix=}
|
||||||
p=$(echo "$p" | sed -e 's,--prefix=,,')
|
p=${p% *}
|
||||||
|
p=${p% -*}
|
||||||
if [ -z "$p" ]; then
|
if [ -z "$p" ]; then
|
||||||
p=${prefix-/usr/local}
|
p=${prefix-/usr/local}
|
||||||
fi
|
fi
|
||||||
prefix=$p
|
prefix=$p
|
||||||
|
|
||||||
srcdir=${srcdir-$(dirname $0)}
|
srcdir=${srcdir-$(dirname $0)}
|
||||||
. ${srcdest}build-aux/trace.sh
|
. ${srcdest}build-aux/trace.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue