summaryrefslogtreecommitdiff
path: root/emerge
diff options
context:
space:
mode:
authorFranoosh <uinarf@autistici.org>2025-11-20 12:49:39 +0100
committerFranoosh <uinarf@autistici.org>2025-11-20 12:49:39 +0100
commitf6e0682c11e79d2316bb3b826da3e0f8fe3cdc4e (patch)
tree109c9c4cfd800309fac3a261ce1cbb17c2a52bbe /emerge
parent1d6bcb600fbd529a27327e8f71e8d39ee496775d (diff)
downloadBash-f6e0682c11e79d2316bb3b826da3e0f8fe3cdc4e.tar.gz
Bash-f6e0682c11e79d2316bb3b826da3e0f8fe3cdc4e.tar.bz2
Bash-f6e0682c11e79d2316bb3b826da3e0f8fe3cdc4e.zip
Fix emerge script for client, fix comments
Diffstat (limited to 'emerge')
-rwxr-xr-xemerge21
1 files changed, 12 insertions, 9 deletions
diff --git a/emerge b/emerge
index 79ff633..33def2b 100755
--- a/emerge
+++ b/emerge
@@ -1,13 +1,16 @@
#!/usr/bin/env bash
-
-# This script is for a binhost server.
-# Script creating new binhost directories if they don't exist
-# after changing profile/gcc versions.
-# To be placed in $PATH before /usr/bin/emerge, for instance /usr/bin/local
-# For a binhost client you need this defined:
-# PORTAGE_BINHOST="ssh://user@binhost_server/path/to/binary/host/$PKGDIR"
-# There is an accompanying script emerge-client in the repo.
-# One needs to put it on $PATH before /usr/bin/emerge, for instance /usr/bin/local on the binhost user host.
+#############################################################################
+# This script is for a binhost server. #
+# #
+# Script creating new binhost directories if they don't exist #
+# after changing profile/gcc versions. #
+# To be placed in $PATH before /usr/bin/emerge, for instance /usr/bin/local #
+# #
+# For a binhost client you need this defined: #
+# PORTAGE_BINHOST="ssh://user@binhost_server/path/to/binary/host/$PKGDIR" #
+# #
+# There is an accompanying script emerge-client in the repo. #
+#############################################################################
PROFILE=$(eselect profile show|sed -n 2p|cut -d '/' -f4)
GCC_VERSION=$(eselect gcc show|cut -d '-' -f5)