Changeset 7 in code for trunk


Ignore:
Timestamp:
Oct 11, 2022, 7:38:22 PM (3 years ago)
Author:
koizumi.aoi
Message:

Give readonly attribute to core variables

Signed-off-by: Aoi K <koizumi.aoi@…>

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/kanako

    r6 r7  
    11#!/bin/sh -e
    22
    3 conf_dir="${conf_dir:-$HOME/.config/kanako}"
    4 key_dir="${key_dir:-$HOME/.kanako}"
    5 store_dir="${store_dir:-$HOME/.kanako-store}"
     3readonly conf_dir="${conf_dir:-$HOME/.config/kanako}"
     4readonly key_dir="${key_dir:-$HOME/.kanako}"
     5readonly store_dir="${store_dir:-$HOME/.kanako-store}"
    66
    77if test -d "${store_dir}"; then
  • trunk/kanako-init

    r3 r7  
    11#!/bin/sh
    2 conf_dir="$HOME/.config/kanako"
    3 key_dir="$HOME/.kanako"
    4 store_dir="$HOME/.kanako-store"
     2readonly conf_dir="$HOME/.config/kanako"
     3readonly key_dir="$HOME/.kanako"
     4readonly store_dir="$HOME/.kanako-store"
    55
    66echo "Initializing kanako(1)"
Note: See TracChangeset for help on using the changeset viewer.