summaryrefslogtreecommitdiff
path: root/pbs-package-fork
diff options
context:
space:
mode:
Diffstat (limited to 'pbs-package-fork')
-rwxr-xr-xpbs-package-fork4
1 files changed, 3 insertions, 1 deletions
diff --git a/pbs-package-fork b/pbs-package-fork
index 56d0663..97aeec9 100755
--- a/pbs-package-fork
+++ b/pbs-package-fork
@@ -1,6 +1,6 @@
#!/bin/bash -euE
-. libremessages
+. pbs-plumb-shlib
cmd=${0##*/}
usage() {
@@ -42,6 +42,8 @@ main() {
local dest=$3
local newpackage="${dest##*/}"
+ cdto_pbs-root
+
git submodule add -b "packages/${oldpackage}" "${repository}" "${dest}"
cd "${dest}"
git checkout -b "packages/${newpackage}"