X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/move_up?a=blobdiff_plain;f=all_new_2018%2Fsymlink_etc.sh;h=9a7a162f07c28b137fe1186ffe189b34af7904d2;hb=c5917948ea2b6f1114aaf239567298c3cd20d017;hp=16edd24e6e56949b0f6fa328b3fd80e90f465a81;hpb=2004b0439e1f62fc6f747627b84c29072a9efb91;p=config diff --git a/all_new_2018/symlink_etc.sh b/all_new_2018/symlink_etc.sh index 16edd24..9a7a162 100755 --- a/all_new_2018/symlink_etc.sh +++ b/all_new_2018/symlink_etc.sh @@ -6,6 +6,11 @@ set -e target="$1" +if [ ! "${target}" = "all" ] && [ ! "${target}" = "server" ]; then + echo "Need proper target." + false +fi + config_tree_prefix="${HOME}/config/all_new_2018/linkable_etc_files/" cd "${config_tree_prefix}""${target}" for path in $(find . -type f); do