aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Doan <andy.doan@linaro.org>2015-08-17 10:29:50 -0500
committerAndy Doan <andy.doan@linaro.org>2015-08-17 10:29:50 -0500
commit6a0c8b3e71107c49c1930d32cf7f70c687671b4e (patch)
tree14036f0bf4eaa919b56b3918e24f4ace8a82b031
parentf7ebc31c5299bff0b3a62cdeefc11f25ad61c56f (diff)
fix last commmit: don't create link unless needed
Change-Id: Ic64ad5adfa67f8a264391260afe77023c0ae4db3
-rwxr-xr-xprocess-all.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/process-all.sh b/process-all.sh
index 33ff30e..c46995f 100755
--- a/process-all.sh
+++ b/process-all.sh
@@ -63,7 +63,7 @@ for WEB_NAME in $GIT_SITES; do
# to analyze
source ./config
chmod -R 755 $INPUT_PATH # needed so apache can access
- ln -s $INPUT_PATH $OUTPUT_PATH
+ [ -e $OUTPUT_PATH ] || ln -s $INPUT_PATH $OUTPUT_PATH
done