summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/commit-xfce-sync.sh2
-rwxr-xr-xscripts/sync-xfce-overlay.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/commit-xfce-sync.sh b/scripts/commit-xfce-sync.sh
index bad7e55..d4e7ab6 100755
--- a/scripts/commit-xfce-sync.sh
+++ b/scripts/commit-xfce-sync.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-: ${OVERLAY=/home/angelos/overlays/xfce}
+OVERLAY="$(portageq get_repo_path / xfce-dev)"
pushd "${OVERLAY}" >/dev/null
for i in $(git status --porcelain|grep ebuild|awk '{ print $2 }'); do
diff --git a/scripts/sync-xfce-overlay.sh b/scripts/sync-xfce-overlay.sh
index 7b76fa1..b05b15c 100755
--- a/scripts/sync-xfce-overlay.sh
+++ b/scripts/sync-xfce-overlay.sh
@@ -1,6 +1,7 @@
#!/bin/bash
-: ${OVERLAY=${HOME}/overlays/xfce"
+OVERLAY="$(portageq get_repo_path / xfce-dev)"
+PORTDIR="$(portageq portdir)"
# collect ebuilds
pushd "${OVERLAY}" >/dev/null
@@ -8,7 +9,6 @@ pkgs=$(echo */*/*.ebuild)
popd >/dev/null
changes=0
-PORTDIR=$(portageq portdir)
for i in ${pkgs}; do
# get cat/pkg