tjust sdk.init is enough to load lib - libdevuansdk - common library for devuan's simple distro kits HTML git clone https://git.parazyd.org/libdevuansdk DIR Log DIR Files DIR Refs DIR Submodules DIR README DIR LICENSE --- DIR commit 90184d55d197a299a3bcf2ee5cc30e2931c2baa6 DIR parent 9f282f6075fb1d0403ecfb8b9be9eef2b0faa067 HTML Author: Jaromil <jaromil@dyne.org> Date: Wed, 15 Jun 2016 13:41:59 +0200 just sdk.init is enough to load lib Diffstat: D sdk | 33 ------------------------------- M sdk.init | 4 ++++ 2 files changed, 4 insertions(+), 33 deletions(-) --- DIR diff --git a/sdk b/sdk t@@ -1,33 +0,0 @@ -#!/usr/bin/env zsh -# -# Copyright (c) 2016 Dyne.org Foundation -# libdevuansdk is written and maintained by -# Jaromil <jaromil@dyne.org> -# KatolaZ <katolaz@freaknet.org> -# parazyd <parazyd@dyne.org> -# -# This file is part of libdevuansdk -# -# This source code is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This software is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this source code. If not, see <http://www.gnu.org/licenses/>. - -setopt pushdsilent -# export PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin" - -######################## -## Load Zuper extensions -source $SDK_LIB/zuper/zuper - -vars+=(SDK_PREFIX SDK_HOME SDK_CONF SDK_LIB SDK_ARM SDK_VM SDK_LIVE) -notice "Loading Devuan SDK library v$devuan_sdk_version" -vars+=(libdevuansdk_version os release version mirror section) DIR diff --git a/sdk.init b/sdk.init t@@ -23,6 +23,10 @@ fn libdevuansdk.init libdevuansdk_version=0.1 +notice "Initializing Devuan SDK library v$libdevuansdk_version" + +vars+=(SDK_PREFIX SDK_HOME SDK_CONF SDK_LIB SDK_ARM SDK_VM SDK_LIVE) +vars+=(libdevuansdk_version os release version mirror section) # defaults if less sofisticated dir SDK_HOME=${SDK_HOME:-$SDK_PREFIX}