diff options
author | jstebbins <[email protected]> | 2009-08-17 13:13:53 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-08-17 13:13:53 +0000 |
commit | 8ed77e421ed66f6f5b561b0f87d3fc90b9f9fb2f (patch) | |
tree | 7bbddff972bbc065d34de10228fcaf9367d73d3f /gtk/src/Makefile.am | |
parent | 5bae80cc1e47c392224022036dfa7aa55cfa828c (diff) |
LinGui: fix incorrect test in Makefile.am
change "test -n" to "test -d".
check for directory existence instead of checking for an empty string when
the string can never be empty
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2765 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/Makefile.am')
-rw-r--r-- | gtk/src/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/src/Makefile.am b/gtk/src/Makefile.am index b0f1e4aa2..6aaa0fd0f 100644 --- a/gtk/src/Makefile.am +++ b/gtk/src/Makefile.am @@ -149,7 +149,7 @@ uninstall-local: fi; \ rm -f $(DESTDIR)/$(datadir)/icons/hicolor/$$SIZE/apps/$$FILE; \ done - @-if test -n "$(DESTDIR)/$(datadir)"; then \ + @-if test -d "$(DESTDIR)/$(datadir)"; then \ echo "Updating Gtk icon cache."; \ $(gtk_update_icon_cache); \ else \ @@ -171,7 +171,7 @@ install-data-local: mkdir -p $(DESTDIR)/$(datadir)/icons/hicolor/$$SIZE/apps/; \ $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)/$(datadir)/icons/hicolor/$$SIZE/apps/$$FILE; \ done - @-if test -n "$(DESTDIR)/$(datadir)"; then \ + @-if test -d "$(DESTDIR)/$(datadir)"; then \ echo "Updating Gtk icon cache."; \ $(gtk_update_icon_cache); \ else \ |