OSDN Git Service

Fixed a bug emerged due to the previous modification.
authorMamoru Sakaue / MwGhennndo <glmwghennndo@users.sourceforge.jp>
Tue, 11 Sep 2018 07:31:26 +0000 (15:31 +0800)
committerMamoru Sakaue / MwGhennndo <glmwghennndo@users.sourceforge.jp>
Tue, 11 Sep 2018 07:31:26 +0000 (15:31 +0800)
 Changes to be committed:
modified:   lib/libdatabase_build.sh

lib/libdatabase_build.sh

index 46f0a4d..ce40aeb 100644 (file)
@@ -933,7 +933,7 @@ database_build_get_complete_recursive_dependency ()
                mv "$tmppath.parents.tmp" "$tmppath.parents"
                if [ ! -e "$dstfile" ]
                then
-                       sort -u "$dstfile_tmp" | grep -v '^$' > $dstfile
+                       sort -u "$dstfile_tmp" | grep -v '^$' > $dstfile || :
                        rm "$dstfile_tmp"
                fi
        fi