Skip to content

Commit 33a8761

Browse files
committed
'fb_ref' is not used anymore
1 parent 773dd1d commit 33a8761

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

addons/dev-helpers/create-pf-git-storage.sh

-7
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ function exit_usage() {
1414

1515
dst_dir="$1"
1616
pf_ref="$2"
17-
fb_ref="$3"
1817

1918
if [ -z "$dst_dir" ]; then
2019
echo "!!! - Missing destination directory"
@@ -26,11 +25,6 @@ if [ -z "$pf_ref" ]; then
2625
exit_usage
2726
fi
2827

29-
if [ -z "$fb_ref" ]; then
30-
echo "!!! - Missing Fingerbank perl client repo branch or tag name"
31-
exit_usage
32-
fi
33-
3428
mkdir -p $dst_dir
3529

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

8276
chmod a+r -R $dst_dir
83-

addons/dev-helpers/update-pf-git-storage.sh

-6
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ function exit_usage() {
1414

1515
dst_dir="$1"
1616
pf_ref="$2"
17-
fb_ref="$3"
1817

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

29-
if [ -z "$fb_ref" ]; then
30-
echo "!!! - Missing Fingerbank perl client repo branch or tag name"
31-
exit_usage
32-
fi
33-
3428
dst_dir=`echo $dst_dir | sed 's|/$||'`
3529

3630
tmpdir=`mktemp -d`

0 commit comments

Comments
 (0)