summaryrefslogtreecommitdiff
path: root/slackware-bootstrap/step2-finish
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2025-07-04 09:04:54 +0200
committernavewindre <boneyaard@gmail.com>2025-07-04 09:04:54 +0200
commit94291899afc6c7a079889beed2b9dbc79588a585 (patch)
tree7ba96c496b6c803aeadb71b12326be5910572c7e /slackware-bootstrap/step2-finish
parent65288f936613d584acb0ee8f84d173f2fc406a6e (diff)
a
Diffstat (limited to 'slackware-bootstrap/step2-finish')
-rwxr-xr-xslackware-bootstrap/step2-finish2
1 files changed, 2 insertions, 0 deletions
diff --git a/slackware-bootstrap/step2-finish b/slackware-bootstrap/step2-finish
index 595f5a3..da58e62 100755
--- a/slackware-bootstrap/step2-finish
+++ b/slackware-bootstrap/step2-finish
@@ -1,5 +1,7 @@
#!/bin/bash
+basedir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
+
if [[ -f "~/.nreboot" ]]; then
echo "sh $basedir/finish" >> /root/.bash_profile
echo "rm -f /root/.bash_profile" >> /root/.bash_profile