From 5054f348807c73f0f18886ec59daa28ba1822e0c Mon Sep 17 00:00:00 2001
From: Christopher Spinrath <christopher.spinrath@rwth-aachen.de>
Date: Sun, 11 Oct 2015 23:04:36 +0200
Subject: [PATCH] scripts: repo_packages: fix path to read_packages.py

---
 scripts/repo_packages.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/repo_packages.sh b/scripts/repo_packages.sh
index 9b06b9a..67dd744 100755
--- a/scripts/repo_packages.sh
+++ b/scripts/repo_packages.sh
@@ -41,7 +41,7 @@ if [ ! -d "$SCRIPT_DIR" ]; then
 fi
 
 #all packages that do not have an urls field (and thus, should be resolved using apt)
-PKG_LIST=$("$SCRIPT_DIR/read_packages.py" "$CONTRIB_DIR/offline_repo.json" | grep -E "^[^[:space:]]+$" | tr "\n" " ")
+PKG_LIST=$("$SCRIPT_DIR/scripts/read_packages.py" "$CONTRIB_DIR/offline_repo.json" | grep -E "^[^[:space:]]+$" | tr "\n" " ")
 
 PKG_DESTINATION=$DESTINATION/archives
 
@@ -62,7 +62,7 @@ PKG_URLS=$(apt-get install --reinstall --print-uris -qq $PKG_LIST | cut -d"'" -f
 
 echo "package urls:"
 echo "$PKG_URLS"
-PKG_URLS="$PKG_URLS $("$SCRIPT_DIR/read_packages.py" "$CONTRIB_DIR/offline_repo.json" | cut -f2- -s -d" " | tr "\n" " ")"
+PKG_URLS="$PKG_URLS $("$SCRIPT_DIR/scripts/read_packages.py" "$CONTRIB_DIR/offline_repo.json" | cut -f2- -s -d" " | tr "\n" " ")"
 
 echo "downloading archives. this may take some time..."
 wget -nc -P $PKG_DESTINATION $PKG_URLS
-- 
GitLab