aboutsummaryrefslogtreecommitdiff
path: root/system/swapinzram
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-02-14 00:29:25 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-02-18 10:06:57 +0700
commitad733f24d031deebee206c7f981f288581ffccef (patch)
tree07cf32642634b37e68b4e1360529a46179907373 /system/swapinzram
parent6fc30dd0c135b8a6b60932638b6ccf6a97bc1eac (diff)
system/swapinzram: Align to 15.0 template.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/swapinzram')
-rw-r--r--system/swapinzram/swapinzram.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/swapinzram/swapinzram.SlackBuild b/system/swapinzram/swapinzram.SlackBuild
index 950061a68250..d14b5fd52df0 100644
--- a/system/swapinzram/swapinzram.SlackBuild
+++ b/system/swapinzram/swapinzram.SlackBuild
@@ -20,6 +20,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=swapinzram
SRC_SCRIPTS="swapinzram-files.tar.gz"
VERSION=${VERSION:-1.0}
@@ -33,7 +35,6 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}