X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=all_new_2018%2Fsymlink_etc.sh;fp=all_new_2018%2Fsymlink_etc.sh;h=f1f97af1a557a27b5a5d51fdce500cda02c7cd23;hb=bebdb36b5829d317e14caced306d30a04179198f;hp=16edd24e6e56949b0f6fa328b3fd80e90f465a81;hpb=2004b0439e1f62fc6f747627b84c29072a9efb91;p=config diff --git a/all_new_2018/symlink_etc.sh b/all_new_2018/symlink_etc.sh index 16edd24..f1f97af 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