aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-11-11 04:52:37 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-11-11 04:52:37 +0300
commit552eaa5be1808eafe804d4c39dcb73c93fa19098 (patch)
tree684fb7feb599c7a39b3ba75040711eaaa95d6502
parentrefactoring (diff)
downloadconfig-links-552eaa5be1808eafe804d4c39dcb73c93fa19098.tar.gz
config-links-552eaa5be1808eafe804d4c39dcb73c93fa19098.zip
code style
-rwxr-xr-xupdate.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/update.sh b/update.sh
index 5ecc00c..ed68420 100755
--- a/update.sh
+++ b/update.sh
@@ -37,7 +37,7 @@ check_symlinks_enabled_cygwin() {
*winsymlinks:nativestrict*) ;;
*)
- dump 'native Windows symlinks aren'"'"'t enabled in Cygwin' >&2
+ dump "native Windows symlinks aren't enabled in Cygwin" >&2
return 1
;;
esac
@@ -203,7 +203,7 @@ read_database() {
write_database() {
if is_dry_run; then
- dump 'won'"'"'t write the database because it'"'"'s a dry run'
+ dump "won't write the database because it's a dry run"
return 0
fi
@@ -248,7 +248,7 @@ delete_obsolete_dirs() {
fi
if is_dry_run; then
- dump 'won'"'"'t delete the directory because it'"'"'s a dry run'
+ dump "won't delete the directory because it's a dry run"
return 0
fi
@@ -302,7 +302,7 @@ delete_obsolete_entries() {
if [ ! -L "$symlink_path" ]; then
dump " not a symlink, so won't delete: $symlink_path"
elif is_dry_run; then
- dump ' won'"'"'t delete an obsolete symlink, because it'"'"'s a dry run'
+ dump " won't delete an obsolete symlink, because it's a dry run"
else
rm -f -- "$symlink_path"
@@ -367,7 +367,7 @@ discover_new_entries() {
dump " destination file: $symlink_path"
if is_dry_run; then
- dump ' won'"'"'t create a symlink because it'"'"'s a dry run'
+ dump " won't create a symlink because it's a dry run"
else
mkdir -p -- "$( dirname -- "$symlink_path" )"
ln -f -s -- "$shared_path" "$symlink_path"