diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-03-18 10:18:17 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-03-18 10:18:17 -0400 |
commit | e42d401d0f379a6c6ec541eaf05682973abf4bf9 (patch) | |
tree | 967454b7783a04a07a221cc9686f29920012e770 /pbs-package-fork | |
parent | 02e65752e544754e029288f0b539661a7040fa76 (diff) |
add a shlib, use .pbs-root and .pbs-package to identify directories
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}" |