Skip to content

Commit

Permalink
Some extra comments for symlinking code
Browse files Browse the repository at this point in the history
  • Loading branch information
picons committed Aug 23, 2015
1 parent f8e4453 commit 668b577
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build-tools/create-symlinks+copy-logos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ mkdir -p "$build_location/symlinks"

cd "$build_location/symlinks"

####################################################################
## Create symlinks and copy logos for SNP & SRP using servicelist ##
####################################################################
if [[ $style = "snp" ]] || [[ $style = "srp" ]]; then
cat "$serviceref_list"*"$style" | tr -d [:blank:] | tr -d [=*=] | while read line ; do
IFS="|"
Expand Down Expand Up @@ -52,6 +55,9 @@ if [[ $style = "snp" ]] || [[ $style = "srp" ]]; then
done
fi

#########################################################
## Create symlinks and copy logos using only snp-index ##
#########################################################
if [[ $style = "dirtysnp" ]]; then
sed '1!G;h;$!d' "$source_location/snp-index" | while read line ; do
IFS="="
Expand All @@ -78,6 +84,9 @@ if [[ $style = "dirtysnp" ]]; then
done
fi

#########################################################
## Create symlinks and copy logos using only srp-index ##
#########################################################
if [[ $style = "dirtysrp" ]]; then
sed '1!G;h;$!d' "$source_location/srp-index" | while read line ; do
IFS="="
Expand Down

0 comments on commit 668b577

Please sign in to comment.