diff options
Diffstat (limited to 'pbs-package-fork')
-rwxr-xr-x | pbs-package-fork | 4 |
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}" |