summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 -