fix the error of dir_purge_tool.sh 28/131428/1
authorYonghee Han <onstudy@samsung.com>
Mon, 29 May 2017 06:17:25 +0000 (15:17 +0900)
committerYonghee Han <onstudy@samsung.com>
Mon, 29 May 2017 06:17:25 +0000 (15:17 +0900)
Change-Id: I13c3e31fd291bc36f5bff3cbb4a5a491e4a859be

dir-purge-tool.sh

index 328ea92..244c5ca 100755 (executable)
@@ -6,7 +6,7 @@
 remove_old() {
 path=$1
 maxage=$(($2 * 86400))
-dirlist=`find $path -type d -regextype posix-awk -regex $PURGE_PATTERN -not -regex '.*-base.*'
+dirlist=`find $path -type d -regextype posix-awk -regex $PURGE_PATTERN -not -regex '.*-base.*'`
 now=`date +"%s"`
 for dir in $dirlist; do
   dirn=`dirname $dir`