summaryrefslogtreecommitdiff
path: root/pbs-package-fork
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-03-18 10:18:17 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-03-18 10:18:17 -0400
commite42d401d0f379a6c6ec541eaf05682973abf4bf9 (patch)
tree967454b7783a04a07a221cc9686f29920012e770 /pbs-package-fork
parent02e65752e544754e029288f0b539661a7040fa76 (diff)
add a shlib, use .pbs-root and .pbs-package to identify directories
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}"