commit 90184d55d197a299a3bcf2ee5cc30e2931c2baa6
parent 9f282f6075fb1d0403ecfb8b9be9eef2b0faa067
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(-)
diff --git a/sdk b/sdk
@@ -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)
diff --git a/sdk.init b/sdk.init
@@ -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}