Skip to content

Commit

Permalink
'fb_ref' is not used anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
stegar123 committed Jan 26, 2024
1 parent 773dd1d commit 33a8761
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
7 changes: 0 additions & 7 deletions addons/dev-helpers/create-pf-git-storage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ function exit_usage() {

dst_dir="$1"
pf_ref="$2"
fb_ref="$3"

if [ -z "$dst_dir" ]; then
echo "!!! - Missing destination directory"
Expand All @@ -26,11 +25,6 @@ if [ -z "$pf_ref" ]; then
exit_usage
fi

if [ -z "$fb_ref" ]; then
echo "!!! - Missing Fingerbank perl client repo branch or tag name"
exit_usage
fi

mkdir -p $dst_dir

tmpdir=`mktemp -d`
Expand Down Expand Up @@ -80,4 +74,3 @@ touch $dst_dir/fingerbank/conf/fingerbank.conf
find $dst_dir -name .gitignore -delete

chmod a+r -R $dst_dir

6 changes: 0 additions & 6 deletions addons/dev-helpers/update-pf-git-storage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ function exit_usage() {

dst_dir="$1"
pf_ref="$2"
fb_ref="$3"

if [ -z "$dst_dir" ] || ! [ -d "$dst_dir" ]; then
echo "!!! - Missing destination directory or it doesn't exist"
Expand All @@ -26,11 +25,6 @@ if [ -z "$pf_ref" ]; then
exit_usage
fi

if [ -z "$fb_ref" ]; then
echo "!!! - Missing Fingerbank perl client repo branch or tag name"
exit_usage
fi

dst_dir=`echo $dst_dir | sed 's|/$||'`

tmpdir=`mktemp -d`
Expand Down

0 comments on commit 33a8761

Please sign in to comment.