diff options
author | Malf Furious <m@lfurio.us> | 2017-04-30 22:32:46 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2017-04-30 22:32:46 -0400 |
commit | 716ed2414600bb018e67761df5c5d34f5e1acb7b (patch) | |
tree | 65b32712903f45d92f86e697c00507a84287f33c /init.sh | |
parent | dfc2f49646ddf8f8b861e810a062600f86f4acbb (diff) | |
download | systrunk-716ed2414600bb018e67761df5c5d34f5e1acb7b.tar.gz systrunk-716ed2414600bb018e67761df5c5d34f5e1acb7b.zip |
Rm old content
Diffstat (limited to '')
-rw-r--r-- | init.sh | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/init.sh b/init.sh deleted file mode 100644 index b772015..0000000 --- a/init.sh +++ /dev/null @@ -1,39 +0,0 @@ -## -# init_wktree <unused> <unused> [<remote>] <path> -# -# Assert that the repository at <path> exists, then setup the -# .systr directory at the CWD. -## -function init_wktree -{ - if [ $# -gt 3 ]; then - remote=$3 - shift - else - remote="" - fi - - path=$3 - - # local repository # - if [[ "$remote" == "" ]]; then - if [ ! -f "$path/HEAD" ]; then - echo "Error: $path is not a repository" - exit 1 - fi - - mkdir -p .systr/ - - echo "" >.systr/remote - echo "$path" >.systr/path - echo "NULL" >.systr/BASE - echo "NULL" >.systr/TRAC - - echo "Setup worktree at $(pwd)" - - # remote repository # - else - exit 1 - - fi -} |