From ed8624ef01526b374541c0601009d6ce8d383985 Mon Sep 17 00:00:00 2001 From: c0dev0id Date: Wed, 12 Mar 2025 08:17:57 +0100 Subject: [PATCH] Update 2025-03-12 08:17 OpenBSD/amd64-t14 --- .bin/luakit-env | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/.bin/luakit-env b/.bin/luakit-env index e9ac579..82e88ad 100755 --- a/.bin/luakit-env +++ b/.bin/luakit-env @@ -1,11 +1,7 @@ #!/bin/sh -# fallback to no config -if [ -z "$HOME/.lenv" ] -then - echo "_env=dev" > $HOME/.lenv - echo "_dir=$HOME/src/luakit-dev" >> $HOME/.lenv -fi +_dir="$1" +shift # load config . $HOME/.lenv @@ -47,12 +43,6 @@ then echo " diff file env - diff file with other environment" echo " update-port - update openbsd port from last commit" echo - echo " other commands:" - echo " ledit - edit this script" - echo " ldev - switch to dev environment (c0dev0id/luakit)" - echo " ltest - switch to test environment (luakit/luakit)" - echo " ltemp - switch to temp environment (luakit/luakit)" - echo fi @@ -76,11 +66,6 @@ then gmake -j1 luakit fi -if [ "$_action" == "debug" ] -then - egdb -ex "break luakit.c:main" -ex "run $@" ./luakit -fi - if [ "$_action" == "reset" ] then if [ "$_env" == "dev" ]