summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-02-17 12:53:40 +0100
committerErich Eckner <git@eckner.net>2020-02-17 12:53:40 +0100
commit100f79ec0d59c073deff3b07c2c1627b79474c96 (patch)
tree9289b3cc09e52abae94b3a77dbd52faa06582595
parent19b486ce499718ebf5f15988c2f8bfd3b304b5e7 (diff)
downloadarchlinuxewe-100f79ec0d59c073deff3b07c2c1627b79474c96.tar.xz
archPackagesUpdate: set directories earlier
-rwxr-xr-xarchPackagesUpdate10
1 files changed, 5 insertions, 5 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index 9651bf88d..b3020d95e 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -29,6 +29,11 @@ log=''
logFile='-'
printOnly=false
+if ${aufRechenknecht}; then
+ submoduleDir="${pkgSrcDir}/submodules"
+ pkgSrcDir="${pkgSrcDir}/archPackages"
+fi
+
# print help screen
usage()
{
@@ -204,11 +209,6 @@ fi
echo '... done'
-if ${aufRechenknecht}; then
- submoduleDir="${pkgSrcDir}/submodules"
- pkgSrcDir="${pkgSrcDir}/archPackages"
-fi
-
# extract git ${branch}
git -C "${pkgSrcDir}" archive --format tar "${branch}" | \
tar -x -C "${tmpDir}" -f -